Copied!

BeforeCreateGlobalUrlAliasEvent

BeforeCreateGlobalUrlAliasEvent.php : 15
Final
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateGlobalUrlAliasEvent.php : 29
public __construct(string $resource, string $path, string $languageCode, bool $forwarding, bool $alwaysAvailable)

Parameters

Name Type Default value Description
$resource string - -
$path string - -
$languageCode string - -
$forwarding bool - -
$alwaysAvailable bool - -

publicgetAlwaysAvailable()

BeforeCreateGlobalUrlAliasEvent.php : 58
public getAlwaysAvailable() : bool

Return values

bool

publicgetForwarding()

BeforeCreateGlobalUrlAliasEvent.php : 53
public getForwarding() : bool

Return values

bool

publicgetLanguageCode()

BeforeCreateGlobalUrlAliasEvent.php : 48
public getLanguageCode() : string

Return values

string

publicgetPath()

BeforeCreateGlobalUrlAliasEvent.php : 43
public getPath() : string

Return values

string

publicgetResource()

BeforeCreateGlobalUrlAliasEvent.php : 38
public getResource() : string

Return values

string

publicgetUrlAlias()

BeforeCreateGlobalUrlAliasEvent.php : 63
public getUrlAlias() : URLAlias

Return values

URLAlias

publichasUrlAlias()

BeforeCreateGlobalUrlAliasEvent.php : 77
public hasUrlAlias() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetUrlAlias()

BeforeCreateGlobalUrlAliasEvent.php : 72
public setUrlAlias(URLAlias|null $urlAlias) : void

Parameters

Name Type Default value Description
$urlAlias URLAlias|null - -

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().