Scope:Proc. / Display

Specifies which publishing control features are automatically implemented for the table.

This includes that records can be “disabled” or “hidden”, have a starting and/or ending time and be access controlled so only a certain front end user group can access them. This property is used by the RestrictionBuilder to create SQL fragments.

These are the keys in the array you can use. Each of the values must be a field name in the table which should be used for the feature:

Defines which field serves as hidden/disabled flag.
Defines which field contains the starting time.
Defines which field contains the ending time.
Defines which field is used for access control via a selection of FE user groups.


In general these fields do not affect the access or display in the backend! They are primarily related to the frontend. However the icon of records having these features enabled will normally change as these examples show:

Record information shown editing an example record

See also the delete feature which is related, but is active for both frontend and backend.


Common enable fields

Record information shown editing an example record
'ctrl' => [
    'title' => 'Form engine - Common table control',
    'label' => 'title',
    'descriptionColumn' => 'description',
    'tstamp' => 'tstamp',
    'crdate' => 'crdate',
    'cruser_id' => 'cruser_id',
    'delete' => 'deleted',
    'sortby' => 'sorting',
    'default_sortby' => 'title',
    'versioningWS' => true,
    'rootLevel' => -1,
    'iconfile' => 'EXT:styleguide/Resources/Public/Icons/tx_styleguide.svg',
    'origUid' => 't3_origuid',
    'languageField' => 'sys_language_uid',
    'transOrigPointerField' => 'l10n_parent',
    'transOrigDiffSourceField' => 'l10n_diffsource',
    'translationSource' => 'l10n_source',
    'searchFields' => 'title,description',
    'enablecolumns' => [
        'disabled' => 'hidden',
        'starttime' => 'starttime',
        'endtime' => 'endtime',