You are here

public function Field::isHidden in Search API 8

Determines whether this field should be hidden from the user.

Return value

bool TRUE if this field should be hidden from the user.

Overrides FieldInterface::isHidden

1 call to Field::isHidden()
Field::getSettings in src/Item/Field.php
Retrieves all settings encapsulated in this field as an array.

File

src/Item/Field.php, line 457

Class

Field
Represents a field on a search item that can be indexed.

Namespace

Drupal\search_api\Item

Code

public function isHidden() {
  return (bool) $this->hidden;
}