'preview' ], // non-cacheable actions [ 'Event' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'Opentalent.OtWidgets', 'AllEvents', [ 'Event' => 'index,show,noEvents' ], // non-cacheable actions [ 'Event' => '', ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'Opentalent.OtWidgets', 'Donors', [ 'Donor' => 'getDonors' ], // non-cacheable actions [ ] ); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'Opentalent.OtWidgets', 'Members', [ 'Member' => 'getMembers,getMembersCa' ], // non-cacheable actions [ ] ); // wizards \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig( 'mod { wizards.newContentElement.wizardItems.plugins { elements { events { iconIdentifier = ot_widgets-plugin-events title = LLL:EXT:ot_widgets/Resources/Private/Language/locallang_db.xlf:tx_ot_widgets_events.name description = LLL:EXT:ot_widgets/Resources/Private/Language/locallang_db.xlf:tx_ot_widgets_events.description tt_content_defValues { CType = list list_type = otwidgets_events } } donors { iconIdentifier = ot_widgets-plugin-donors title = LLL:EXT:ot_widgets/Resources/Private/Language/locallang_db.xlf:tx_ot_widgets_donors.name description = LLL:EXT:ot_widgets/Resources/Private/Language/locallang_db.xlf:tx_ot_widgets_donors.description tt_content_defValues { CType = list list_type = otwidgets_donors } } } show = * } }' ); $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class); $iconRegistry->registerIcon( 'ot_widgets-plugin-events', \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class, ['source' => 'EXT:ot_widgets/Resources/Public/Icons/user_plugin_events.svg'] ); $iconRegistry->registerIcon( 'ot_widgets-plugin-donors', \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class, ['source' => 'EXT:ot_widgets/Resources/Public/Icons/user_plugin_donors.svg'] ); } );