original_string: public function manipulateCacheActions(&$cacheActions, &$optionValues)
      {
          $extensionConfiguration = $GLOBALS['TYPO3_CONF_VARS']['EXT']['extParams']['tw_componentlibrary'];
          if ($GLOBALS['BE_USER']->isAdmin() && !empty($extensionConfiguration['componentlibrary'])) {
              $componentLibrary = $extensionConfiguration['componentlibrary'];
              $cacheActions[]   = array(
                  'id'             => $componentLibrary,
                  'title'          => 'LLL:EXT:tw_componentlibrary/Resources/Private/Language/locallang_core.xlf:cache.'.$componentLibrary.'.title',
                  'description'    => 'LLL:EXT:tw_componentlibrary/Resources/Private/Language/locallang_core.xlf:cache.'.$componentLibrary.'.description',
                  'href'           => '/typo3/index.php?route=%2F'.$componentLibrary,
                  'iconIdentifier' => 'tx_twcomponentlibrary_cache'
              );
          }
      }
code: public function manipulateCacheActions(&$cacheActions, &$optionValues)
      {
          $extensionConfiguration = $GLOBALS['TYPO3_CONF_VARS']['EXT']['extParams']['tw_componentlibrary'];
          if ($GLOBALS['BE_USER']->isAdmin() && !empty($extensionConfiguration['componentlibrary'])) {
              $componentLibrary = $extensionConfiguration['componentlibrary'];
              $cacheActions[]   = array(
                  'id'             => $componentLibrary,
                  'title'          => 'LLL:EXT:tw_componentlibrary/Resources/Private/Language/locallang_core.xlf:cache.'.$componentLibrary.'.title',
                  'description'    => 'LLL:EXT:tw_componentlibrary/Resources/Private/Language/locallang_core.xlf:cache.'.$componentLibrary.'.description',
                  'href'           => '/typo3/index.php?route=%2F'.$componentLibrary,
                  'iconIdentifier' => 'tx_twcomponentlibrary_cache'
              );
          }
      }
code_tokens: public function manipulateCacheActions ( & $ cacheActions , & $ optionValues ) { $ extensionConfiguration = $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extParams' ] [ 'tw_componentlibrary' ] ; if ( $ GLOBALS [ 'BE_USER' ] -> isAdmin ( ) && ! empty ( $ extensionConfiguration [ 'componentlibrary' ] ) ) { $ componentLibrary = $ extensionConfiguration [ 'componentlibrary' ] ; $ cacheActions [ ] = array ( 'id' => $ componentLibrary , 'title' => 'LLL:EXT:tw_componentlibrary/Resources/Private/Language/locallang_core.xlf:cache.' . $ componentLibrary . '.title' , 'description' => 'LLL:EXT:tw_componentlibrary/Resources/Private/Language/locallang_core.xlf:cache.' . $ componentLibrary . '.description' , 'href' => '/typo3/index.php?route=%2F' . $ componentLibrary , 'iconIdentifier' => 'tx_twcomponentlibrary_cache' ) ; } }
docstring: Add an entry to the CacheMenuItems array
  
  @param array $cacheActions Array of CacheMenuItems
  @param array $optionValues Array of AccessConfigurations-identifiers (typically  used by userTS with
  options.clearCache.identifier)
docstring_tokens: Add an entry to the CacheMenuItems array