This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
URL events¶
URLs¶
Event | Dispatched by | Properties |
---|---|---|
BeforeUpdateUrlEvent |
URLService::updateUrl |
URL $url URLUpdateStruct $struct URL|null $updatedUrl |
UpdateUrlEvent |
URLService::updateUrl |
URL $url URLUpdateStruct $struct URL $updatedUrl |
URL aliases¶
The following events are dispatched when creating and managing URL aliases.
Event | Dispatched by | Properties |
---|---|---|
BeforeCreateGlobalUrlAliasEvent |
URLAliasService::createGlobalUrlAlias |
private $resource private $path private $languageCode private $forwarding private $alwaysAvailable URLAlias|null $urlAlias |
CreateGlobalUrlAliasEvent |
URLAliasService::createGlobalUrlAlias |
private $resource private $path private $languageCode private $forwarding private $alwaysAvailable URLAlias $urlAlias |
BeforeCreateUrlAliasEvent |
URLAliasService::createUrlAlias |
Location $location private $path private $languageCode private $forwarding private $alwaysAvailable URLAlias|null $urlAlias |
CreateUrlAliasEvent |
URLAliasService::createUrlAlias |
Location $location private $path private $languageCode private $forwarding private $alwaysAvailable URLAlias $urlAlias |
BeforeRefreshSystemUrlAliasesForLocationEvent |
URLAliasService::refreshSystemUrlAliasesForLocation |
Location $location |
RefreshSystemUrlAliasesForLocationEvent |
URLAliasService::refreshSystemUrlAliasesForLocation |
Location $location |
BeforeRemoveAliasesEvent |
URLAliasService::removeAliases |
array $aliasList |
RemoveAliasesEvent |
URLAliasService::removeAliases |
array $aliasList |
URL wildcards¶
The following events are dispatched when creating and managing URL wildcards.
Event | Dispatched by | Properties |
---|---|---|
BeforeCreateEvent |
URLWildcardService::create |
private $sourceUrl private $destinationUrl private $forward URLWildcard|null $urlWildcard |
CreateEvent |
URLWildcardService::create |
private $sourceUrl private $destinationUrl private $forward URLWildcard $urlWildcard |
BeforeUpdateEvent |
URLWildcardService::update |
URLWildcard $urlWildcard URLWildcardUpdateStruct $updateStruct |
UpdateEvent |
URLWildcardService::update |
URLWildcard $urlWildcard URLWildcardUpdateStruct $updateStruct |
BeforeTranslateEvent |
URLWildcardService::translate |
private $url URLWildcardTranslationResult|null $result |
TranslateEvent |
URLWildcardService::translate |
private $url URLWildcardTranslationResult $result |
BeforeRemoveEvent |
URLWildcardService::remove |
URLWildcard $urlWildcard |
RemoveEvent |
URLWildcardService::remove |
URLWildcard $urlWildcard |