Copied!

BeforeCreateUrlAliasEvent

BeforeCreateUrlAliasEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateUrlAliasEvent.php : 32
public __construct(Location $location, mixed $path, mixed $languageCode, mixed $forwarding, mixed $alwaysAvailable)

Parameters

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

publicgetAlwaysAvailable()

BeforeCreateUrlAliasEvent.php : 61
public getAlwaysAvailable() : mixed

publicgetForwarding()

BeforeCreateUrlAliasEvent.php : 56
public getForwarding() : mixed

publicgetLanguageCode()

BeforeCreateUrlAliasEvent.php : 51
public getLanguageCode() : mixed

publicgetLocation()

BeforeCreateUrlAliasEvent.php : 41
public getLocation() : Location

Return values

Location

publicgetPath()

BeforeCreateUrlAliasEvent.php : 46
public getPath() : mixed

publicgetUrlAlias()

BeforeCreateUrlAliasEvent.php : 66
public getUrlAlias() : URLAlias

Return values

URLAlias

publichasUrlAlias()

BeforeCreateUrlAliasEvent.php : 80
public hasUrlAlias() : bool

Return values

bool

publicsetUrlAlias()

BeforeCreateUrlAliasEvent.php : 75
public setUrlAlias(URLAlias|null $urlAlias) : void

Parameters

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