Upgrade to TYPO3 9.5 LTS
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
defined('TYPO3_MODE') or die();
|
||||
|
||||
call_user_func(function () {
|
||||
|
||||
// Register icons
|
||||
$icons = [
|
||||
'apps-pagetree-category-page' => 'EXT:ep_events/Resources/Public/images/apps-pagetree-category-page.svg',
|
||||
'apps-pagetree-example-page' => 'EXT:ep_events/Resources/Public/images/apps-pagetree-example-page.svg',
|
||||
];
|
||||
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
|
||||
foreach ($icons as $identifier => $path) {
|
||||
$iconRegistry->registerIcon(
|
||||
$identifier,
|
||||
TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
|
||||
['source' => $path]
|
||||
);
|
||||
}
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user