[BUGFIX] FormEngine: Custom functions
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
6 'web',
7 'layout',
8 'top',
9 '',
10 array(
11 'routeTarget' => \TYPO3\CMS\Backend\Controller\PageLayoutController::class . '::mainAction',
12 'access' => 'user,group',
13 'name' => 'web_layout',
14 'labels' => array(
15 'tabs_images' => array(
16 'tab' => 'EXT:backend/Resources/Public/Icons/module-page.svg',
17 ),
18 'll_ref' => 'LLL:EXT:backend/Resources/Private/Language/locallang_mod.xlf',
19 ),
20 )
21 );
22
23 // Register BackendLayoutDataProvider for PageTs
24 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['BackendLayoutDataProvider']['pagets'] = \TYPO3\CMS\Backend\Provider\PageTsBackendLayoutDataProvider::class;
25 }