2 defined(
'TYPO3_MODE') or die();
4 if (TYPO3_MODE === 'BE') {
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
7 '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/PageTS/modWizards.ts">'
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;
15 $GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'tslib/class.tslib_content.php'][
'cObjTypeAndClass'][] = array(
17 \TYPO3\CMS\Form\Hooks\ContentObjectHook::class
19 $GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'tslib/class.tslib_content.php'][
'cObjTypeAndClass'][] = array(
21 \TYPO3\CMS\Form\Hooks\ContentObjectHook::class
25 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerTypeConverter(
26 \TYPO3\CMS\Form\Domain\Property\TypeConverter\ArrayToValidationElementConverter::class
29 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
32 array(
'Frontend' =>
'show, confirmation, dispatchConfirmationButtonClick, process, afterProcess'),
33 array(
'Frontend' =>
'show, confirmation, dispatchConfirmationButtonClick, process, afterProcess')
36 $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
38 \TYPO3\CMS\Form\Domain\Builder\FormBuilder::class,
39 'txFormHandleIncomingValues',
40 \TYPO3\CMS\Form\Hooks\HandleIncomingFormValues::class,
41 'handleIncomingFormValues'