TcaTtContentColPosItemsRestrictionByBackendLayout
final readonly class \
- 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.
Internal
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
__construct()
public
__construct(BackendLayoutView $backendLayoutView) : mixed
Parameters
- $backendLayoutView : BackendLayoutView
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