diff --git a/typo3/sysext/redirects/Documentation/Events/Index.rst b/typo3/sysext/redirects/Documentation/Events/Index.rst new file mode 100644 index 0000000000000000000000000000000000000000..86320bf6d80f44b149845252e979855dde193f27 --- /dev/null +++ b/typo3/sysext/redirects/Documentation/Events/Index.rst @@ -0,0 +1,53 @@ +.. include:: /Includes.rst.txt + +.. _psr14events: + +============= +PSR-14 events +============= + +The following PSR-14 events are available to extend the functionality: + + +AfterAutoCreateRedirectHasBeenPersistedEvent +============================================ + +React on persisted auto-created redirects. +:ref:`More details <t3coreapi:AfterAutoCreateRedirectHasBeenPersistedEvent>` + + +BeforeRedirectMatchDomainEvent +============================== + +Implement a custom redirect matching upon the loaded redirects or return a +matched redirect record from other sources. +:ref:`More details <t3coreapi:BeforeRedirectMatchDomainEvent>` + + +ModifyAutoCreateRedirectRecordBeforePersistingEvent +=================================================== + +Modify the redirect record before it is persisted to the database. +:ref:`More details <t3coreapi:ModifyAutoCreateRedirectRecordBeforePersistingEvent>` + + +ModifyRedirectManagementControllerViewDataEvent +=============================================== + +Modify or enrich view data for the +:php:`\TYPO3\CMS\Redirects\Controller\ManagementController`. +:ref:`More details <t3coreapi:ModifyRedirectManagementControllerViewDataEvent>` + + +RedirectWasHitEvent +=================== + +Process the matched redirect further and adjust the PSR-7 response. +:ref:`More details <t3coreapi:RedirectWasHitEvent>` + + +SlugRedirectChangeItemCreatedEvent +================================== + +Manage the redirect sources for which redirects should be created. +:ref:`More details <t3coreapi:SlugRedirectChangeItemCreatedEvent>` diff --git a/typo3/sysext/redirects/Documentation/Index.rst b/typo3/sysext/redirects/Documentation/Index.rst index 443e0cb08c1c26b71faadc2a06fe8a067fbe0fb4..e7456054f0846fc913f23dc54401c6b10cf26234 100644 --- a/typo3/sysext/redirects/Documentation/Index.rst +++ b/typo3/sysext/redirects/Documentation/Index.rst @@ -45,6 +45,7 @@ redirects and automatically create redirects on slug changes. Setup/Index Usage/Index BestPractices/Index + Events/Index KnownProblems/Index Basics/Index