mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 09:36: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']
|
[\Wrm\Events\Controller\DateController::class => 'show']
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
|
||||||
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
|
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
|
||||||
|
|
||||||
$iconRegistry->registerIcon(
|
$iconRegistry->registerIcon(
|
||||||
'events-plugin',
|
'events-plugin',
|
||||||
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
|
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
|
||||||
['source' => 'EXT:events/Resources/Public/Icons/user_plugin_events.svg']
|
['source' => 'EXT:events/Resources/Public/Icons/user_plugin_events.svg']
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
// wizards
|
// wizards
|
||||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
|
||||||
'mod {
|
'mod {
|
||||||
|
|
Loading…
Reference in a new issue