public function SvgImageFieldItem::isDisplayed in SVG Image Field 2.1.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldType/SvgImageFieldItem.php \Drupal\svg_image_field\Plugin\Field\FieldType\SvgImageFieldItem::isDisplayed()
- 2.0.x src/Plugin/Field/FieldType/SvgImageFieldItem.php \Drupal\svg_image_field\Plugin\Field\FieldType\SvgImageFieldItem::isDisplayed()
Determines whether an item should be displayed when rendering the field.
Return value
bool TRUE if the item should be displayed, FALSE if not.
Overrides FileItem::isDisplayed
File
- src/
Plugin/ Field/ FieldType/ SvgImageFieldItem.php, line 304
Class
- SvgImageFieldItem
- Plugin implementation of the 'svg_image' field type.
Namespace
Drupal\svg_image_field\Plugin\Field\FieldTypeCode
public function isDisplayed() {
// Image items do not have per-item visibility settings.
return TRUE;
}