TcaTtContentCtypeItemsRestrictionByBackendLayout

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

Implements
FormDataProviderInterface

Reduce tt_content CType items if needed: When the pages backend layout does not allow content element types in current record colPos (via "allowedContentTypes" and "disallowedContentTypes" backend layout column configuration), then the content element can not be switched into those types. The implementation reduces CType 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