‪TYPO3CMS  10.4
TYPO3\CMS\Redirects\Hooks\DataHandlerCacheFlushingHook Class Reference

Public Member Functions

 rebuildRedirectCacheIfNecessary (array $parameters, DataHandler $dataHandler)
 

Detailed Description

Ensure to clear the cache entry when a sys_redirect record is modified or deleted

This class is a specific TYPO3 hook implementation and is not part of the Public TYPO3 API.

Definition at line 28 of file DataHandlerCacheFlushingHook.php.

Member Function Documentation

◆ rebuildRedirectCacheIfNecessary()

TYPO3\CMS\Redirects\Hooks\DataHandlerCacheFlushingHook::rebuildRedirectCacheIfNecessary ( array  $parameters,
DataHandler  $dataHandler 
)

Check if the data handler processed a sys_redirect record, if so, rebuild the redirect index cache

Parameters
array$parameters‪unused
DataHandler$dataHandler‪the data handler object

Definition at line 36 of file DataHandlerCacheFlushingHook.php.