PageTsBackendLayoutDataProvider implements DataProviderInterface
FinalYes
This Provider adds Backend Layouts based on page TSconfig
= Example = mod { web_layout { BackendLayouts { example { title = Example config { backend_layout { colCount = 1 rowCount = 2 rows { 1 { columns { 1 { name = LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos.I.3 colPos = 3 colspan = 1 } } } 2 { columns { 1 { name = Main colPos = 0 colspan = 1 } } } } } } icon = content-container-columns-2 } } } }
Do not extend, change providers using $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['BackendLayoutDataProvider']
Table of Contents
Interfaces
- DataProviderInterface
- Interface for classes which hook into BackendLayoutDataProvider to provide additional backend layouts from various sources.
Methods
- addBackendLayouts() : void
- Adds backend layouts to the given backend layout collection.
- getBackendLayout() : BackendLayout|null
- Gets a backend layout by (regular) identifier.
Methods
addBackendLayouts()
Adds backend layouts to the given backend layout collection.
public
addBackendLayouts(DataProviderContext $dataProviderContext, BackendLayoutCollection $backendLayoutCollection) : void
Parameters
- $dataProviderContext : DataProviderContext
- $backendLayoutCollection : BackendLayoutCollection
getBackendLayout()
Gets a backend layout by (regular) identifier.
public
getBackendLayout(string $identifier, int $pageId) : BackendLayout|null
Parameters
- $identifier : string
- $pageId : int