You are here

public function SearchApiExternalDataSourceController::loadItems in Search API 7

Load items of the type of this data source controller.

Always returns an empty array. If you want the items of your type to be loadable, specify a function here.

Parameters

array $ids: The IDs of the items to load.

Return value

array The loaded items, keyed by ID.

Overrides SearchApiDataSourceControllerInterface::loadItems

File

includes/datasource_external.inc, line 57
Contains the SearchApiExternalDataSourceController class.

Class

SearchApiExternalDataSourceController
Base class for data source controllers for external data sources.

Code

public function loadItems(array $ids) {
  return array();
}