public function VideoItem::isDisplayed in Video 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldType/VideoItem.php \Drupal\video\Plugin\Field\FieldType\VideoItem::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/ VideoItem.php, line 173
Class
- VideoItem
- Plugin implementation of the 'video' field type.
Namespace
Drupal\video\Plugin\Field\FieldTypeCode
public function isDisplayed() {
// Video items do not have per-item visibility settings.
return TRUE;
}