Classes/Hooks/ClearCacheMenu.php
/**
	 * Modifies CacheMenuItems array
	 *
	 * @param array $cacheActions Array of CacheMenuItems
	 * @param array $optionValues Array of AccessConfigurations-identifiers (typically used by userTS with options.clearCache.identifier)
	 * @return void
	 */
Modifies CacheMenuItems array
@param array $cacheActions Array of CacheMenuItems
@param array $optionValues Array of AccessConfigurations-identifiers (typically used by userTS with options.clearCache.identifier)
@return void
Modifies CacheMenuItems array @param array $cacheActions Array of CacheMenuItems @param array $optionValues Array of AccessConfigurations - identifiers ( typically used by userTS with options . clearCache . identifier ) @return void
public function manipulateCacheActions(&$cacheActions, &$optionValues) {
		$cacheActions[] = array(
			'id' => 'varnish',
			'title' => LocalizationUtility::translate('LLL:EXT:varnish/Resources/Private/Language/locallang.xlf:hooks.cache.title', $_EXTKEY),
			'href' => 'ajax.php?ajaxID=varnish::banAll',
			'icon' => '<img src="/' . $GLOBALS['TYPO3_LOADED_EXT']['varnish']['siteRelPath'] . 'Resources/Public/Icons/ClearVarnish.svg" width="16" height="16" />'
		);
	}
public function manipulateCacheActions ( & $ cacheActions , & $ optionValues ) { $ cacheActions [ ] = array ( 'id' => 'varnish' , 'title' => LocalizationUtility :: translate ( 'LLL:EXT:varnish/Resources/Private/Language/locallang.xlf:hooks.cache.title' , $ _EXTKEY ) , 'href' => 'ajax.php?ajaxID=varnish::banAll' , 'icon' => '<img src="/' . $ GLOBALS [ 'TYPO3_LOADED_EXT' ] [ 'varnish' ] [ 'siteRelPath' ] . 'Resources/Public/Icons/ClearVarnish.svg" width="16" height="16" />' ) ; }
Modifies CacheMenuItems array
 @param array $cacheActions Array of CacheMenuItems
 @param array $optionValues Array of AccessConfigurations-identifiers (typically used by userTS with options.clearCache.identifier)
 @return void
Modifies CacheMenuItems array @param array $cacheActions Array of CacheMenuItems @param array $optionValues Array of AccessConfigurations - identifiers ( typically used by userTS with options . clearCache . identifier ) @return void