Examples

Set of radio buttons field

EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
[
    'columns' => [
        'radio_1' => [
            'exclude' => 1,
            'label' => 'description',
            'description' => 'radio_1 three options, one without label',
            'config' => [
                'type' => 'radio',
                'items' => [
                    [
                        'foo',
                        1,
                    ],
                    [
                        '',
                        2,
                    ],
                    [
                        'foobar',
                        3,
                    ],
                ],
            ],
        ],
    ],
]
Copied!