ClearCacheActionsHookInterface
interface \
Interface for classes which hook into \TYPO3\CMS\Backend\Toolbar\ClearCacheToolbarItem and manipulate CacheMenuItems array
Deprecated
since TYPO3 v11 LTS, will be removed in TYPO3 v12.0. Use the PSR-14-based ModifyClearCacheActionsEvent instead.
Table of Contents
Methods
- manipulateCacheActions() : mixed
- Modifies CacheMenuItems array
Methods
manipulateCacheActions()
Modifies CacheMenuItems array
public
manipulateCacheActions(array &$cacheActions, array &$optionValues) : mixed
Parameters
- $cacheActions : array
-
Array of CacheMenuItems
- $optionValues : array
-
Array of AccessConfigurations-identifiers (typically used by userTS with options.clearCache.identifier)