Project

General

Profile

Bug #84591 » ext_localconf.txt

Oliver Hader, 2018-04-04 08:26

 
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['additionalBackendItems']['cacheActions']['news_clear_cache'] = \BraProjectfiles\BraProjectfiles\ClearCacheMenu\NewsClearCacheAction::class;
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class)->registerIcon(
'news-clear-cache-menu-action',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
[
'source' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('bra_projectfiles', 'Resources/Public/Icons/CacheMenuItem.png'),
'size' => \TYPO3\CMS\Core\Imaging\Icon::SIZE_LARGE
]
);
(1-1/4)