TcaTtContentColPosItemsRestrictionByBackendLayout implements FormDataProviderInterface
Read onlyYes
FinalYes
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<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