ModifyAutoCreateRedirectRecordBeforePersistingEvent

FinalYes

This event is fired in the \TYPO3\CMS\Redirects\Service\SlugService before a redirect record is persisted for changed page slug.

It can be used to modify the redirect record before persisting it. This gives extension developers the ability to apply defaults or add custom values to the record.

Table of Contents

Methods

__construct()  : mixed
getRedirectRecord()  : array<string|int, mixed>
getSlugRedirectChangeItem()  : SlugRedirectChangeItem
getSource()  : RedirectSourceInterface
setRedirectRecord()  : void

Methods

getRedirectRecord()

public getRedirectRecord() : array<string|int, mixed>
Return values
array<string|int, mixed>

setRedirectRecord()

public setRedirectRecord(array<string|int, mixed> $redirectRecord) : void
Parameters
$redirectRecord : array<string|int, mixed>

        
On this page

Search results