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 $urlURLUpdateStruct $structURL|null $updatedUrl |
UpdateUrlEvent |
URLService::updateUrl |
URL $urlURLUpdateStruct $structURL $updatedUrl |
URL aliases¶
The following events are dispatched when creating and managing URL aliases.
| Event | Dispatched by | Properties |
|---|---|---|
BeforeCreateGlobalUrlAliasEvent |
URLAliasService::createGlobalUrlAlias |
private $resourceprivate $pathprivate $languageCodeprivate $forwardingprivate $alwaysAvailableURLAlias|null $urlAlias |
CreateGlobalUrlAliasEvent |
URLAliasService::createGlobalUrlAlias |
private $resourceprivate $pathprivate $languageCodeprivate $forwardingprivate $alwaysAvailableURLAlias $urlAlias |
BeforeCreateUrlAliasEvent |
URLAliasService::createUrlAlias |
Location $locationprivate $pathprivate $languageCodeprivate $forwardingprivate $alwaysAvailableURLAlias|null $urlAlias |
CreateUrlAliasEvent |
URLAliasService::createUrlAlias |
Location $locationprivate $pathprivate $languageCodeprivate $forwardingprivate $alwaysAvailableURLAlias $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 $sourceUrlprivate $destinationUrlprivate $forwardURLWildcard|null $urlWildcard |
CreateEvent |
URLWildcardService::create |
private $sourceUrlprivate $destinationUrlprivate $forwardURLWildcard $urlWildcard |
BeforeUpdateEvent |
URLWildcardService::update |
URLWildcard $urlWildcardURLWildcardUpdateStruct $updateStruct |
UpdateEvent |
URLWildcardService::update |
URLWildcard $urlWildcardURLWildcardUpdateStruct $updateStruct |
BeforeTranslateEvent |
URLWildcardService::translate |
private $urlURLWildcardTranslationResult|null $result |
TranslateEvent |
URLWildcardService::translate |
private $urlURLWildcardTranslationResult $result |
BeforeRemoveEvent |
URLWildcardService::remove |
URLWildcard $urlWildcard |
RemoveEvent |
URLWildcardService::remove |
URLWildcard $urlWildcard |