-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_localconf.php
More file actions
executable file
·30 lines (22 loc) · 1.09 KB
/
Copy pathext_localconf.php
File metadata and controls
executable file
·30 lines (22 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/*
* This file is part of the "LIA Form" Extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*/
declare(strict_types=1);
use LIA\LiaForm\Hooks\FlexFormHook;
use LIA\LiaForm\XClass\FormDefinition;
use TYPO3\CMS\Form\Domain\Model\FormDefinition as CoreFormDefinition;
defined('TYPO3') || die();
// Note: Scheduler task registration moved to TCA (Configuration/TCA/Overrides/tx_scheduler_task.php)
// per TYPO3 14 Deprecation #98453. The old SC_OPTIONS approach is deprecated.
// Default implementation doesn't provide API to remove processing rules.
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][CoreFormDefinition::class] = [
'className' => FormDefinition::class,
];
// DataHandler hook to modify form flexform.
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = FlexFormHook::class;
// Note: Form Framework hooks were removed in TYPO3 v14. Their replacements live in
// Classes/EventListener/, registered via #[AsEventListener] attributes.