TcaTtContentCtypeItemsRestrictionByBackendLayout implements FormDataProviderInterface
Read onlyYes
FinalYes
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<string|int, mixed>
- Add form data to result array
Methods
__construct()
public
__construct(BackendLayoutView $backendLayoutView) : mixed
Parameters
- $backendLayoutView : BackendLayoutView
addData()
Add form data to result array
public
addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
- $result : array<string|int, mixed>
-
Initialized result array
Return values
array<string|int, mixed> —Result filled with more data