Feature: #66369 - Added new element browser API¶
See forge#66369
Description¶
The former code monster class Element
has been split into dedicated parts of functionality.
Specifically the functionality of selecting elements for the FormEngine and the code parts for creating
links, used in FormEngine and RTE, have been moved into separate APIs.
Each type of element, which can be selected in FormEngine, has its own element browser class.
You may add your own special type by registering your own element browser in your ext_
as follows:
if (TYPO3_MODE === 'BE') {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ElementBrowsers'][<identifier>] = \Vendor\Ext\TheClass::class;
}
Copied!
The registered class is expected to implement the \TYPO3\
interface.