Copied!

CreateUrlAliasEvent

CreateUrlAliasEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

CreateUrlAliasEvent.php : 31
public __construct(URLAlias $urlAlias, Location $location, mixed $path, mixed $languageCode, mixed $forwarding, mixed $alwaysAvailable)

Parameters

Name Type Default value Description
$urlAlias URLAlias - -
$location Location - -
$path mixed - -
$languageCode mixed - -
$forwarding mixed - -
$alwaysAvailable mixed - -

publicgetAlwaysAvailable()

CreateUrlAliasEvent.php : 67
public getAlwaysAvailable() : mixed

publicgetForwarding()

CreateUrlAliasEvent.php : 62
public getForwarding() : mixed

publicgetLanguageCode()

CreateUrlAliasEvent.php : 57
public getLanguageCode() : mixed

publicgetLocation()

CreateUrlAliasEvent.php : 47
public getLocation() : Location

Return values

Location

publicgetPath()

CreateUrlAliasEvent.php : 52
public getPath() : mixed

publicgetUrlAlias()

CreateUrlAliasEvent.php : 72
public getUrlAlias() : URLAlias

Return values

URLAlias

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().