IconForRecord ViewHelper <core:iconForRecord>

ViewHelper to display an icon for a record.

   <core:iconForRecord table="tt_content" row="{record}" />
Copied!

Go to the source code of this ViewHelper: IconForRecordViewHelper.php (GitHub).

Arguments

The following arguments are available for the iconForRecord ViewHelper:

alternativeMarkupIdentifier

alternativeMarkupIdentifier
Type
string
alternative markup identifier

row

row
Type
array
Required
1
the record row

size

size
Type
string
Default
'small'
the icon size

table

table
Type
string
Required
1
the table for the record icon