ContentType

Identifier ezcontent
Available options
Class Netgen\BlockManager\Ez\Parameters\ParameterType\ContentType
Valid value ID of an existing eZ Platform content

This parameter allows to input the ID of an existing eZ Platform content as its value.

Note

This parameter type is available only if using Netgen Layouts on top of eZ Platform.

Available options

allow_invalid

type: bool, required: No, default value: false

If true, the parameter will allow storing IDs of content which does not exist in the system.

allowed_types

type: array, required: No, default value: []

If not empty, only content with provided content types will be allowed.