27.07.2015 Views

TYPO3 CMS 7.3 - What’s New

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

In-Depth Changes<br />

FormEngine NodeFactory API (1)<br />

It is now possible to register new nodes and overwriting existing nodes<br />

$GLOBALS[’<strong>TYPO3</strong>_CONF_VARS’][’SYS’][’formEngine’][’nodeRegistry’][1433196792] = array(<br />

’nodeName’ => ’input’,<br />

’priority’ => 40,<br />

’class’ => \MyVendor\MyExtension\Form\Element\T3editorElement::class<br />

);<br />

Example above registers a new class<br />

MyVendor\MyExtension\Form\Element\T3editorElement as<br />

render class for TCA type input, which must implement the interface<br />

<strong>TYPO3</strong>\<strong>CMS</strong>\Backend\Form\NodeInterface<br />

The array key is the Unix timestamp of the date when a registry<br />

element is added<br />

<strong>TYPO3</strong> <strong>CMS</strong> <strong>7.3</strong> - <strong>What’s</strong> <strong>New</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!