‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Form\FieldControl\ElementBrowser Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\FieldControl\ElementBrowser:
TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface

Public Member Functions

 __construct (private readonly InlineStackProcessor $inlineStackProcessor,)
 
array render ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 setData (array $data)
 

Protected Member Functions

 addEntryPoint (string $table, string $fieldName, array $fieldConfig, array $linkAttributes)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
 initializeResultArray ()
 
array mergeChildReturnIntoExistingResult (array $existing, array $childReturn, bool $mergeHtml=true)
 
 getValidationDataAsJsonString (array $config)
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Form\AbstractNode
array $data = []
 
array $defaultFieldInformation = array( )
 
array $defaultFieldControl = array( )
 
array $defaultFieldWizard = array( )
 

Detailed Description

Renders the icon "select element via element browser", typically used for type=group.

Definition at line 30 of file ElementBrowser.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Form\FieldControl\ElementBrowser::__construct ( private readonly InlineStackProcessor  $inlineStackProcessor)

Definition at line 32 of file ElementBrowser.php.

Member Function Documentation

◆ addEntryPoint()

TYPO3\CMS\Backend\Form\FieldControl\ElementBrowser::addEntryPoint ( string  $table,
string  $fieldName,
array  $fieldConfig,
array  $linkAttributes 
)
protected

Try to resolve a configured default entry point - page / folder to be expanded - and add it to the link attributes if found.

Definition at line 114 of file ElementBrowser.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Backend\Form\FieldControl\ElementBrowser\render().

◆ render()

array TYPO3\CMS\Backend\Form\FieldControl\ElementBrowser::render ( )

Add button control

Returns
‪array As defined by FieldControl class

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

Definition at line 41 of file ElementBrowser.php.

References TYPO3\CMS\Backend\Form\FieldControl\ElementBrowser\addEntryPoint(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().