‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Form\FormDataGroup\OrderedProviderList Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\FormDataGroup\OrderedProviderList:
TYPO3\CMS\Backend\Form\FormDataGroupInterface

Public Member Functions

array compile (array $result)
 
 setProviderList (array $list)
 

Protected Attributes

FormDataProviderInterface[] $providerList = array( )
 

Detailed Description

Calls provider with dependencies specified given by setter

This group is used to call a list of providers in order by specified dependencies before/depends.

Definition at line 31 of file OrderedProviderList.php.

Member Function Documentation

◆ compile()

array TYPO3\CMS\Backend\Form\FormDataGroup\OrderedProviderList::compile ( array  $result)

Compile form data

Parameters
array$result‪Initialized result array
Returns
‪array Result filled with data
Exceptions

Implements TYPO3\CMS\Backend\Form\FormDataGroupInterface.

Definition at line 44 of file OrderedProviderList.php.

◆ setProviderList()

TYPO3\CMS\Backend\Form\FormDataGroup\OrderedProviderList::setProviderList ( array  $list)

Set list of providers to be called

The dependencies of a provider are specified as:

FormDataProvider::class => [ 'before' => [AnotherFormDataProvider::class] 'depends' => [YetAnotherFormDataProvider::class] ]

Parameters
array$list‪Given list of Provider class names
See also
‪\TYPO3\CMS\Core\Service\DependencyOrderingService

Definition at line 91 of file OrderedProviderList.php.

Member Data Documentation

◆ $providerList

FormDataProviderInterface [] TYPO3\CMS\Backend\Form\FormDataGroup\OrderedProviderList::$providerList = array( )
protected

Definition at line 35 of file OrderedProviderList.php.