Attention
TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.
iconForRecord¶
Displays icon for record.
Examples¶
Default:
<core:iconForRecord table="tt_content" row="{record}" />
Output:
<span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text" data-identifier="mimetypes-x-content-text">
<span class="icon-markup">
<img src="/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-x-content-text.svg" width="16" height="16">
</span>
</span>
Arguments¶
table¶
- DataType
string
- Required
false
- Description
The table for the record icon
row¶
- DataType
mixed
- Required
false
- Description
The record row
size¶
- DataType
string
- Default
'small'
- Required
false
- Description
The icon size
alternativeMarkupIdentifier¶
- DataType
string
- Required
false
- Description
Alternative markup identifier