⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (796 Bytes)
Bug #88939
» ext_tables.php
Guido Schmechel
, 2019-09-25 17:15
<?php
if
(
!
defined
(
'TYPO3_MODE'
))
{
die
(
'Access denied.'
);
}
if
(
TYPO3_MODE
==
'BE'
)
{
/* @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
$iconRegistry
=
\TYPO3\CMS\Core\Utility\GeneralUtility
::
makeInstance
(
\TYPO3\CMS\Core\Imaging\IconRegistry
::
class
);
$svgProvider
=
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider
::
class
;
$extIconPath
=
'EXT:sitepackage/Resources/Public/Image/svg/'
;
$iconRegistry
->
registerIcon
(
'foobar-flush'
,
$svgProvider
,
[
'source'
=>
'foobar-flush.svg'
]
);
// register Clear Cache Menu hook
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'SC_OPTIONS'
][
'additionalBackendItems'
][
'cacheActions'
][
'clearFoobarCache'
]
=
Foobar\Sitepackage\Hooks\Backend\FlushFoobarCacheHook
::
class
;
}
« Previous
1
2
3
Next »
(1-1/3)
Loading...