Feature: #83906 - Disable single FormEngine data provider¶
See forge#83906
Description¶
Single data providers used in the FormEngine data compilation step can be disabled.
As an example, if editing a full database record, the default TcaCheckboxItems could be shut down by setting
disabled
in the tca
group in an extensions ext_
file:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['tcaDatabaseRecord']
[\TYPO3\CMS\Backend\Form\FormDataProvider\TcaCheckboxItems::class]['disabled'] = true;
Copied!
Extension authors can then add an own data provider which depends
on the disabled one and is before
of the
next one to effectively substitute single providers with own solutions if needed.
Impact¶
The disable feature allows extension authors to easily substitute existing data providers with own solutions and avoids nasty array- and dependency munging by extension authors.