iconfile

iconfile

iconfile
Type
string
Path
$GLOBALS['TCA'][$table]['ctrl']
Scope
Display

Pointing to the icon file to use for the table. Icons should be square SVGs. In case you cannot supply a SVG you can still use a PNG file of 64x64 pixels in dimension.

Examples

Example usage from the "examples" extension:

'ctrl' => [
   'iconfile' => 'EXT:examples/Resources/Public/Images/Haiku.svg',
   ...
],
Copied!