typeicon_classes

typeicon_classes

typeicon_classes
Type
array
Path
$GLOBALS['TCA'][$table]['ctrl']
Scope
Display

Array of names to use for the records. The keys must correspond to the values found in the column referenced in the typeicon_column property. The values correspond to icons registered in the Icon API. For using and configuring typeicon_classes for custom page types, please see Create a new Page Type.

Examples

Example from the tt_content table:

'typeicon_classes' => [
   'header' => 'mimetypes-x-content-header',
   'default' => 'mimetypes-x-content-text',
   ...
],
Copied!