ClearCacheActionsHookInterface
Interface for classes which hook into \TYPO3\CMS\Backend\Toolbar\ClearCacheToolbarItem and manipulate CacheMenuItems array
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<string|int, mixed> &$cacheActions, array<string|int, mixed> &$optionValues) : mixed
Parameters
- $cacheActions : array<string|int, mixed>
-
Array of CacheMenuItems
- $optionValues : array<string|int, mixed>
-
Array of AccessConfigurations-identifiers (typically used by userTS with options.clearCache.identifier)