You are here

public function FieldInterface::setDescription in Search API 8

Sets this field's description.

Parameters

string|null $description: A human-readable description for this field, or NULL if the field has no description.

Return value

$this

1 method overrides FieldInterface::setDescription()
Field::setDescription in src/Item/Field.php
Sets this field's description.

File

src/Item/FieldInterface.php, line 194

Class

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

Namespace

Drupal\search_api\Item

Code

public function setDescription($description);