‪TYPO3CMS  ‪main
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
11 
12 defined('TYPO3') or die();
13 
14 call_user_func(static ‪function () {
15  if (ExtensionManagementUtility::isLoaded('impexp')) {
16  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/impexp/class.tx_impexp.php']['before_addSysFileRecord'][1530637161]
17  = ImportExportHook::class . '->beforeAddSysFileRecordOnImport';
18  }
19 
20  // Add module configuration
21  ExtensionManagementUtility::addTypoScriptSetup(
22  'module.tx_form {
23  settings {
24  yamlConfigurations {
25  10 = EXT:form/Configuration/Yaml/FormSetup.yaml
26  }
27  }
28 }'
29  );
30 
31  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/form']['afterSubmit'][1489772699]
32  = FormElementHooks::class;
33 
34  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/form']['beforeRendering'][1489772699]
35  = FormElementHooks::class;
36 
37  // FE file upload processing
38  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/form']['afterBuildingFinished'][1489772699]
39  = PropertyMappingConfiguration::class;
40  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/form']['afterFormStateInitialized'][1613296803]
41  = PropertyMappingConfiguration::class;
42 
43  // Register "formvh:" namespace
44  ‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['formvh'][] = 'TYPO3\\CMS\\Form\\ViewHelpers';
45 
46  // Register FE plugin
47  ExtensionUtility::configurePlugin(
48  'Form',
49  'Formframework',
50  [FormFrontendController::class => ['render', 'perform']],
51  [FormFrontendController::class => ['perform']],
52  ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
53  );
54 });
‪TYPO3\CMS\Form\Mvc\Property\PropertyMappingConfiguration
Definition: PropertyMappingConfiguration.php:38
‪TYPO3\CMS\Form\Hooks\FormElementHooks
Definition: FormElementHooks.php:30
‪TYPO3\CMS\Extbase\Utility\ExtensionUtility
Definition: ExtensionUtility.php:27
‪function
‪static return function(ContainerConfigurator $container, ContainerBuilder $containerBuilder)
Definition: Services.php:9
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility
Definition: ExtensionManagementUtility.php:32
‪TYPO3\CMS\Form\Controller\FormFrontendController
Definition: FormFrontendController.php:41
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪TYPO3\CMS\Form\Hooks\ImportExportHook
Definition: ImportExportHook.php:25