‪TYPO3CMS  10.4
TYPO3\CMS\Backend\Form\NodeExpansion\FieldInformation Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\NodeExpansion\FieldInformation:
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 information are additional HTML on a single node level that are typically shown between the label and the main element. They are registered in ['config']['fieldInformation'] TCA section and each element may merge that with default registered information.

Field information must not add additional functionality to the element. They are only allowed to add "informational" stuff like links, div and spans and similar.

Definition at line 32 of file FieldInformation.php.

Member Function Documentation

◆ render()

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

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

Returns
‪array Result array

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

Definition at line 41 of file FieldInformation.php.

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