items

items (type => radio)
Type
array
Required

true

Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']
Scope
Display / Proc.

An array of values which can be selected.

Each entry is in itself an associative array.

Deprecated since version 12.3

Using the numerical index 0 for setting the label and 1 for the value is deprecated. Use the newly introduced label and value keys.

label (string or LLL reference)
The displayed title.
value (integer or string)
The value stored in the database.