public function FieldInterface::getPrefixedLabel in Search API 8
Retrieves this field's label along with datasource prefix.
Returns a value similar to getLabel(), but also contains the datasource label, if applicable.
Return value
string A human-readable label representing this field's property path and datasource.
1 method overrides FieldInterface::getPrefixedLabel()
- Field::getPrefixedLabel in src/
Item/ Field.php - Retrieves this field's label along with datasource prefix.
File
- src/
Item/ FieldInterface.php, line 206
Class
- FieldInterface
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function getPrefixedLabel();