public function FieldInterface::setHidden in Search API 8
Sets whether this field should be hidden from the user.
Parameters
bool $hidden: (optional) TRUE if the field should be hidden, FALSE otherwise.
Return value
$this
1 method overrides FieldInterface::setHidden()
- Field::setHidden in src/
Item/ Field.php - Sets whether this field should be hidden from the user.
File
- src/
Item/ FieldInterface.php, line 235
Class
- FieldInterface
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function setHidden($hidden = TRUE);