Examples¶
Set of radio buttons field¶
'radio_1' => [
'exclude' => 1,
'label' => 'radio_1 three options, one without label description',
'description' => 'field description',
'config' => [
'type' => 'radio',
'items' => [
'0' => [
'0' => 'foo',
'1' => 1,
],
'1' => [
'0' => '',
'1' => 2,
],
'2' => [
'0' => 'foobar',
'1' => 3,
],
],
],
],
// Example from extension "styleguide", table "tx_styleguide_elements_basic"