You are here

public function SearchApiDataSourceControllerInterface::getItemLabel in Search API 7

Retrieves a human-readable label for an item.

Parameters

mixed $item: An item of this controller's type.

Return value

string|null Either a human-readable label for the item, or NULL if none is available.

Throws

SearchApiDataSourceException If any error state was encountered.

1 method overrides SearchApiDataSourceControllerInterface::getItemLabel()
SearchApiAbstractDataSourceController::getItemLabel in includes/datasource.inc
Retrieves a human-readable label for an item.

File

includes/datasource.inc, line 106
Contains the SearchApiDataSourceControllerInterface as well as a default base class.

Class

SearchApiDataSourceControllerInterface
Interface for all data source controllers for Search API indexes.

Code

public function getItemLabel($item);