AfterAutoCreateRedirectHasBeenPersistedEvent
Read onlyYes
FinalYes
This event is fired in the \TYPO3\CMS\Redirects\Service\SlugService after a redirect record has been automatically created and persisted after page slug change. It's mainly a pure notification event.
It can be used to update redirects external in a load-balancer directly for example, or doing some kind of synchronization.
Table of Contents
Methods
- __construct() : mixed
- getRedirectRecord() : array<string|int, mixed>
- getSlugRedirectChangeItem() : SlugRedirectChangeItem
- getSource() : RedirectSourceInterface
Methods
__construct()
public
__construct(SlugRedirectChangeItem $slugRedirectChangeItem, RedirectSourceInterface $source, array<string|int, mixed> $redirectRecord) : mixed
Parameters
- $slugRedirectChangeItem : SlugRedirectChangeItem
- $source : RedirectSourceInterface
- $redirectRecord : array<string|int, mixed>
getRedirectRecord()
public
getRedirectRecord() : array<string|int, mixed>
Return values
array<string|int, mixed>getSlugRedirectChangeItem()
public
getSlugRedirectChangeItem() : SlugRedirectChangeItem
Return values
SlugRedirectChangeItemgetSource()
public
getSource() : RedirectSourceInterface