mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-25 01:56:10 +01:00
Allow to use plugin icon via identifier
The icon is still a placeholder. Still we provide the identifier to already use it in sitepackages. That way the extension can exchange the file, but foreign configuration can stay. Relates: #8092
This commit is contained in:
parent
cb50981a2b
commit
5a483b6b2a
1 changed files with 1 additions and 2 deletions
|
@ -26,15 +26,14 @@ call_user_func(
|
|||
[\Wrm\Events\Controller\DateController::class => 'show']
|
||||
);
|
||||
|
||||
/*
|
||||
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
|
||||
|
||||
$iconRegistry->registerIcon(
|
||||
'events-plugin',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
|
||||
['source' => 'EXT:events/Resources/Public/Icons/user_plugin_events.svg']
|
||||
);
|
||||
|
||||
/*
|
||||
// wizards
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
|
||||
'mod {
|
||||
|
|
Loading…
Reference in a new issue