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

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

array$result‪Initialized result array
‪array Result filled with data

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] ]

array$list‪Given list of Provider class names
See also

Definition at line 91 of file OrderedProviderList.php.

Member Data Documentation

◆ $providerList

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

Definition at line 35 of file OrderedProviderList.php.