You are here

public function MinisiteItem::isDisplayed in Mini site 8

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/MinisiteItem.php, line 220

Class

MinisiteItem
Plugin implementation of the Minisite field type.

Namespace

Drupal\minisite\Plugin\Field\FieldType

Code

public function isDisplayed() {

  // Override parent class setting as Minisite items do not have per-item
  // visibility settings.
  return TRUE;
}