public function SearchApiDataSourceControllerInterface::getEntityType in Search API 7
Retrieves the entity type of items from this datasource.
Return value
string|null An entity type string if the items provided by this datasource are entities; NULL otherwise.
Throws
SearchApiDataSourceException If any error state was encountered.
1 method overrides SearchApiDataSourceControllerInterface::getEntityType()
- SearchApiAbstractDataSourceController::getEntityType in includes/
datasource.inc - Retrieves the entity type of items from this datasource.
File
- includes/
datasource.inc, line 294 - 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 getEntityType();