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<string|int, mixed> $tcaConfiguration, string $table, string $field, array<string|int, mixed> $currentValue) : DatabaseTreeDataProvider
Parameters
$tcaConfiguration : array<string|int, mixed>
$table : string
$field : string
$currentValue : array<string|int, mixed>

The current database row, handing over 'uid' is enough

Tags
throws
InvalidArgumentException
Return values
DatabaseTreeDataProvider

        
On this page

Search results