|
|
@@ -1,54 +1,10 @@
|
|
|
<?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(
|