TreeDataProviderFactory
Builds a \TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider object based on some TCA configuration
Table of Contents
Methods
- getDataProvider() : DatabaseTreeDataProvider
- Gets the data provider, depending on TCA configuration
Methods
getDataProvider()
Gets the data provider, depending on TCA configuration
public
static getDataProvider(array $tcaConfiguration, string $table, string $field, array $currentValue) : DatabaseTreeDataProvider
Parameters
- $tcaConfiguration : array
- $table : string
- $field : string
- $currentValue : array
-
The current database row, handing over 'uid' is enough