You are here

public function FieldInterface::setLabel in Search API 8

Sets this field's label.

Parameters

string $label: A human-readable label representing this field's property path.

Return value

$this

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

File

src/Item/FieldInterface.php, line 174

Class

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

Namespace

Drupal\search_api\Item

Code

public function setLabel($label);