| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?php
- // call_user_func( function()
- // {
-
- // } );
- use TYPO3\CMS\Core\Utility\GeneralUtility;
- // $iconRegistry = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
- // $iconRegistry->registerIcon('begriffe_list_record_icon', \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class, ['source' => 'EXT:begriffmgt/Resources/Public/Icons/book.png']);
- call_user_func(
- function () {
- // \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
- // 'Meramo.Begriffemgt',
- // 'Termlisting',
- // [
- // \Meramo\Begriffmgt\Controller\DashboardController::class => 'list',
- // ],
- // // non-cacheable actions
- // [
- // \Meramo\Begriffmgt\Controller\DashboardController::class => 'list',
-
- // ]
- // );
- // Add PageTSConfig (chapter 6)
- //$languageFile = 'begriffmgt/Resources/Private/Language/locallang_db.xlf';
- // \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
- // 'mod {
- // wizards.newContentElement.wizardItems.plugins {
- // elements {
- // Termlisting {
- // iconIdentifier = begriffmgt-plugin-bloglisting
- // title = Auflistung der Chatbot Gegriffe
- // description = Verwaltung von Chatbot Begriffe
- // tt_content_defValues {
- // CType = list
- // list_type = Begriffmgt_termlisting
- // }
- // }
- // }
- // show = *
- // }
- // }'
- // );
- // Register extension icon (chapter 6)
- $iconRegistry = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
-
- $iconRegistry->registerIcon(
- 'begriffe_list_record_icon',
- \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
- ['source' => 'EXT:begriffmgt/Resources/Public/Icons/book.png']
- );
- $iconRegistry->registerIcon(
- 'begriffe_module_icon',
- \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
- ['source' => 'EXT:begriffmgt/Resources/Public/Icons/chatbot.svg']
- );
- }
- );
|