DataProviderCollection

class \TYPO3\CMS\Backend\View\BackendLayout\DataProviderCollection

Collection of backend layout data providers.

Table of Contents

Properties

$dataProviders  : array<non-empty-string, DataProviderInterface>
$results  : array

Methods

__construct()  : mixed
getBackendLayout()  : BackendLayout|null
Gets a backend layout by a combined identifier, which is e.g. "myextension_regular" and "myextension" is the identifier of the accordant data provider and "regular" the identifier of the accordant backend layout.
getBackendLayoutCollections()  : BackendLayoutCollection[]
Gets all backend layout collections and thus, all backend layouts. Each data provider returns its own backend layout collection.
createBackendLayoutCollection()  : BackendLayoutCollection
Creates a new backend layout collection.
validateDataProvider()  : void

Properties

Methods

getBackendLayout()

Gets a backend layout by a combined identifier, which is e.g. "myextension_regular" and "myextension" is the identifier of the accordant data provider and "regular" the identifier of the accordant backend layout.

public getBackendLayout(string $combinedIdentifier, int $pageId) : BackendLayout|null

Parameters

$combinedIdentifier : string
$pageId : int

Return values

BackendLayout|null

validateDataProvider()

protected validateDataProvider(mixed $dataProvider) : void

Parameters

$dataProvider : mixed
On this page