ModifyClearCacheActionsEvent

FinalYes

An event to modify the clear cache actions, shown in the TYPO3 Backend top toolbar

Tags
phpstan-import-type

CacheAction from ClearCacheToolbarItem

Table of Contents

Methods

__construct()  : mixed
addCacheAction()  : void
addCacheActionIdentifier()  : void
getCacheActionIdentifiers()  : array<int, non-empty-string>
getCacheActions()  : array<int, CacheAction>
setCacheActionIdentifiers()  : void
setCacheActions()  : void

Methods

__construct()

public __construct(array<int, CacheAction$cacheActions, array<int, non-empty-string> $cacheActionIdentifiers) : mixed
Parameters
$cacheActions : array<int, CacheAction>
$cacheActionIdentifiers : array<int, non-empty-string>

addCacheAction()

public addCacheAction(CacheAction $cacheAction) : void
Parameters
$cacheAction : CacheAction

addCacheActionIdentifier()

public addCacheActionIdentifier(non-empty-string $cacheActionIdentifier) : void
Parameters
$cacheActionIdentifier : non-empty-string

getCacheActionIdentifiers()

public getCacheActionIdentifiers() : array<int, non-empty-string>
Return values
array<int, non-empty-string>

getCacheActions()

public getCacheActions() : array<int, CacheAction>
Return values
array<int, CacheAction>

setCacheActionIdentifiers()

public setCacheActionIdentifiers(array<int, non-empty-string> $cacheActionIdentifiers) : void
Parameters
$cacheActionIdentifiers : array<int, non-empty-string>

setCacheActions()

public setCacheActions(array<int, CacheAction$cacheActions) : void
Parameters
$cacheActions : array<int, CacheAction>

        
On this page

Search results