public function FieldInterface::setLabelPrefix in Search API 8
Sets this field's label prefix.
Parameters
string $label_prefix: A human-readable label representing this field's datasource and ending in some kind of visual separator.
Return value
$this
1 method overrides FieldInterface::setLabelPrefix()
- Field::setLabelPrefix in src/
Item/ Field.php - Sets this field's label prefix.
File
- src/
Item/ FieldInterface.php, line 217
Class
- FieldInterface
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function setLabelPrefix($label_prefix);