TcaTtContentColPosItemsRestrictionByBackendLayout

final readonly class \TYPO3\CMS\Backend\Form\FormDataProvider\TcaTtContentColPosItemsRestrictionByBackendLayout

Implements
FormDataProviderInterface

Reduce tt_content colPos items if needed: When the pages backend layout does not allow the current content element type (CType value) in a colPos (via "allowedContentTypes" and "disallowedContentTypes" backend layout column configuration), then the content element can not be switched to this colPos. The implementation reduces colPos items accordingly.

Table of Contents

Interfaces

FormDataProviderInterface
Interface must be implemented by form data provider classes.

Methods

__construct()  : mixed
addData()  : array
Add form data to result array

Methods

addData()

Add form data to result array

public addData(array $result) : array

Parameters

$result : array

Initialized result array

Return values

array —

Result filled with more data

On this page