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
-
- Type
- string
alternative markup identifier
row
-
- Type
- array
- Required
- 1
the record row
size
-
- Type
- string
- Default
- 'small'
the icon size
table
-
- Type
- string
- Required
- 1
the table for the record icon