SlugRedirectChangeItemCreatedEvent
FinalYes
This event is fired in the \TYPO3\CMS\Redirects\RedirectUpdate\SlugRedirectChangeItemFactory factory if a new SlugRedirectChangeItem is created.
It can be used to add additional sources, remove sources or completely remove the change item itself. A source must implement the RedirectSourceInterface, and for each source a redirect record is created later in the SlugService. If the SlugRedirectChangeItem is set to null, no further action is executed for this slug change.
Table of Contents
Methods
- __construct() : mixed
- getSlugRedirectChangeItem() : SlugRedirectChangeItem
- setSlugRedirectChangeItem() : void
Methods
__construct()
public
__construct(SlugRedirectChangeItem $slugRedirectChangeItem) : mixed
Parameters
- $slugRedirectChangeItem : SlugRedirectChangeItem
getSlugRedirectChangeItem()
public
getSlugRedirectChangeItem() : SlugRedirectChangeItem
Return values
SlugRedirectChangeItemsetSlugRedirectChangeItem()
public
setSlugRedirectChangeItem(SlugRedirectChangeItem $slugRedirectChangeItem) : void
Parameters
- $slugRedirectChangeItem : SlugRedirectChangeItem