TYPO3 CMS  TYPO3_7-6
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 if (TYPO3_MODE === 'BE') {
5  // Apply PageTSconfig
7  '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/PageTS/modWizards.ts">'
8  );
9 
10  // Backend view
11  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem']['mailform'] =
12  \TYPO3\CMS\Form\Hooks\PageLayoutView\MailformPreviewRenderer::class;
13 } else {
14  // Handling of cObjects "FORM" and "FORM_INT"
15  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass'][] = [
16  'FORM',
17  \TYPO3\CMS\Form\Hooks\ContentObjectHook::class
18  ];
19  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass'][] = [
20  'FORM_INT',
21  \TYPO3\CMS\Form\Hooks\ContentObjectHook::class
22  ];
23 
24  // Extbase handling
26  \TYPO3\CMS\Form\Domain\Property\TypeConverter\ArrayToValidationElementConverter::class
27  );
28 
30  'TYPO3.CMS.Form',
31  'Form',
32  ['Frontend' => 'show, confirmation, dispatchConfirmationButtonClick, process, afterProcess'],
33  ['Frontend' => 'show, confirmation, dispatchConfirmationButtonClick, process, afterProcess']
34  );
35 
37  $signalSlotDispatcher->connect(
38  \TYPO3\CMS\Form\Domain\Builder\FormBuilder::class,
39  'txFormHandleIncomingValues',
40  \TYPO3\CMS\Form\Hooks\HandleIncomingFormValues::class,
41  'handleIncomingFormValues'
42  );
43 }
if(!defined("DB_ERROR")) define("DB_ERROR"
static configurePlugin($extensionName, $pluginName, array $controllerActions, array $nonCacheableControllerActions=[], $pluginType=self::PLUGIN_TYPE_PLUGIN)
static registerTypeConverter($typeConverterClassName)
$signalSlotDispatcher
if(TYPO3_MODE==='BE') $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['frontendEditingController']['default']