TYPO3  7.6
fluid_styled_content/Configuration/TCA/Overrides/pages.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 call_user_func(
5  function ($extKey) {
6  $extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$extKey]);
7 
8  if (isset($extConf['loadContentElementWizardTsConfig']) && (int)$extConf['loadContentElementWizardTsConfig'] === 0) {
9  // Add pageTSconfig
10  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerPageTSConfigFile(
11  $extKey,
12  'Configuration/PageTSconfig/NewContentElementWizard.ts',
13  'Fluid-based Content Elements'
14  );
15  }
16  },
17  'fluid_styled_content'
18 );