allowed

allowed
Path

$GLOBALS['TCA'][$table]['columns'][$field]['config']

type

string (list)

Scope

Proc. / Display

InternalType

db

A comma list of tables from $GLOBALS['TCA'], for example "pages,be_users".

Examples

Group relation to be_groups and be_users

EXT:styleguide/Configuration/TCA/tx_styleguide_elements_group.php
[
    'columns' => [
        'group_db_1' => [
            'exclude' => 1,
            'label' => 'group_db_1 allowed=be_users,be_groups description',
            'description' => 'field description',
            'config' => [
                'type' => 'group',
                'allowed' => 'be_users,be_groups',
                'fieldControl' => [
                    'editPopup' => [
                        'disabled' => false,
                    ],
                    'addRecord' => [
                        'disabled' => false,
                    ],
                    'listModule' => [
                        'disabled' => false,
                    ],
                ],
            ],
        ],
    ],
]
Copied!