Files

113 lines
3.8 KiB
PHP

<?php
use TYPO3\CMS\Tstemplate\Controller\ActiveTypoScriptController;
use TYPO3\CMS\Tstemplate\Controller\ConstantEditorController;
use TYPO3\CMS\Tstemplate\Controller\InfoModifyController;
use TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerController;
use TYPO3\CMS\Tstemplate\Controller\TemplateRecordsOverviewController;
/**
* Definitions for modules provided by EXT:tstemplate
*/
return [
'web_ts' => [
'parent' => 'site',
'access' => 'admin',
'path' => '/module/web/ts',
'iconIdentifier' => 'module-template',
'labels' => 'tstemplate.modules.ts',
'navigationComponent' => '@typo3/backend/tree/page-tree-element',
],
'web_typoscript_recordsoverview' => [
'parent' => 'web_ts',
'access' => 'admin',
'path' => '/module/web/typoscript/records-overview',
'iconIdentifier' => 'module-template',
'labels' => 'tstemplate.modules.recordsoverview',
'routes' => [
'_default' => [
'target' => TemplateRecordsOverviewController::class . '::handleRequest',
],
],
],
'web_typoscript_constanteditor' => [
'parent' => 'web_ts',
'access' => 'admin',
'path' => '/module/web/typoscript/constant-editor',
'iconIdentifier' => 'module-template',
'labels' => 'tstemplate.modules.constanteditor',
'routes' => [
'_default' => [
'target' => ConstantEditorController::class . '::handleRequest',
],
],
'moduleData' => [
'selectedTemplatePerPage' => [],
'selectedCategory' => '',
],
],
'web_typoscript_infomodify' => [
'parent' => 'web_ts',
'access' => 'admin',
'path' => '/module/web/typoscript/overview',
'iconIdentifier' => 'module-template',
'labels' => 'tstemplate.modules.infomodify',
'routes' => [
'_default' => [
'target' => InfoModifyController::class . '::handleRequest',
],
],
'moduleData' => [
'selectedTemplatePerPage' => [],
],
],
'typoscript_active' => [
'parent' => 'web_ts',
'access' => 'admin',
'path' => '/module/typoscript/active',
'iconIdentifier' => 'module-template',
'labels' => 'tstemplate.modules.active',
'routes' => [
'_default' => [
'target' => ActiveTypoScriptController::class . '::indexAction',
],
'edit' => [
'target' => ActiveTypoScriptController::class . '::editAction',
],
'update' => [
'target' => ActiveTypoScriptController::class . '::updateAction',
'methods' => ['POST'],
],
],
'moduleData' => [
'sortAlphabetically' => true,
'displayConstantSubstitutions' => true,
'displayComments' => true,
'selectedTemplatePerPage' => [],
'constantConditions' => [],
'setupConditions' => [],
],
],
'web_typoscript_analyzer' => [
'parent' => 'web_ts',
'access' => 'admin',
'path' => '/module/web/typoscript/analyzer',
'iconIdentifier' => 'module-template',
'labels' => 'tstemplate.modules.analyzer',
'routes' => [
'_default' => [
'target' => TemplateAnalyzerController::class . '::indexAction',
],
'source' => [
'target' => TemplateAnalyzerController::class . '::sourceAction',
],
'sourceWithIncludes' => [
'target' => TemplateAnalyzerController::class . '::sourceWithIncludesAction',
],
],
'moduleData' => [
'selectedTemplatePerPage' => [],
],
],
];