‪TYPO3CMS  10.4
TYPO3\CMS\Backend\Form\NodeExpansion\FieldWizard Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\NodeExpansion\FieldWizard:
TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface

Public Member Functions

array render ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 __construct (NodeFactory $nodeFactory, array $data)
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array initializeResultArray ()
 
array mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 
string getValidationDataAsJsonString (array $config)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
NodeFactory $nodeFactory
 
array $data = array( )
 
array $defaultFieldInformation = array( )
 
array $defaultFieldControl = array( )
 
array $defaultFieldWizard = array( )
 

Detailed Description

Field wizards are additional HTML on a single element level that are typically shown below the element input. They are registered in ['config']['fieldWizard'] TCA section and each element may merge that with default wizards.

Field wizards may add additional functionality to the element. They could add new ajax controllers for instance or add buttons and are not restricted by the framework further.

Examples for field wizards are the display of the "language diff" in input elements and the file upload button in group elements.

Definition at line 36 of file FieldWizard.php.

Member Function Documentation

◆ render()

array TYPO3\CMS\Backend\Form\NodeExpansion\FieldWizard::render ( )

Order the list of field wizards to be rendered with the ordering service, then call each wizard element through the node factory and merge their results.

Returns
‪array Result array

Reimplemented from TYPO3\CMS\Backend\Form\AbstractNode.

Definition at line 45 of file FieldWizard.php.

References TYPO3\CMS\Backend\Form\AbstractNode\$data, TYPO3\CMS\Backend\Form\AbstractNode\initializeResultArray(), and TYPO3\CMS\Backend\Form\AbstractNode\mergeChildReturnIntoExistingResult().