‪TYPO3CMS  ‪main
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 defined('TYPO3') or die();
8 
9 // Register FormEngine node type resolver hook to render RTE in FormEngine if enabled
10 ‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeResolver'][1480314091] = [
11  'nodeName' => 'text',
12  'priority' => 50,
13  'class' => ‪RichTextNodeResolver::class,
14 ];
15 
16 // Register the presets
17 ‪if (empty(‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'])) {
18  ‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:rte_ckeditor/Configuration/RTE/Default.yaml';
19 }
20 if (empty(‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['minimal'])) {
21  ‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['minimal'] = 'EXT:rte_ckeditor/Configuration/RTE/Minimal.yaml';
22 }
23 if (empty(‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['full'])) {
24  ‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['full'] = 'EXT:rte_ckeditor/Configuration/RTE/Full.yaml';
25 }
‪TYPO3\CMS\RteCKEditor\Form\Resolver\RichTextNodeResolver
Definition: RichTextNodeResolver.php:29
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪if
‪if(PHP_SAPI !=='cli')
Definition: checkNamespaceIntegrity.php:27