You are here

public function DatasourcePluginBase::loadMultiple in Search API 8

Loads multiple items.

Parameters

array $ids: An array of datasource-specific item IDs.

Return value

\Drupal\Core\TypedData\ComplexDataInterface[] An associative array of loaded items, keyed by their (datasource-specific) IDs.

Overrides DatasourceInterface::loadMultiple

1 call to DatasourcePluginBase::loadMultiple()
DatasourcePluginBase::load in src/Datasource/DatasourcePluginBase.php
Loads an item.
2 methods override DatasourcePluginBase::loadMultiple()
ContentEntity::loadMultiple in src/Plugin/search_api/datasource/ContentEntity.php
Loads multiple items.
TestDatasource::loadMultiple in tests/search_api_test/src/Plugin/search_api/datasource/TestDatasource.php
Loads multiple items.

File

src/Datasource/DatasourcePluginBase.php, line 59

Class

DatasourcePluginBase
Defines a base class from which other datasources may extend.

Namespace

Drupal\search_api\Datasource

Code

public function loadMultiple(array $ids) {
  return [];
}