You are here

public function IndexInterface::getDatasources in Search API 8

Retrieves this index's datasource plugins.

Return value

\Drupal\search_api\Datasource\DatasourceInterface[] The datasource plugins used by this index, keyed by plugin ID.

2 methods override IndexInterface::getDatasources()
Index::getDatasources in src/Entity/Index.php
Retrieves this index's datasource plugins.
UnsavedIndexConfiguration::getDatasources in src/UnsavedIndexConfiguration.php
Retrieves this index's datasource plugins.

File

src/IndexInterface.php, line 118

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function getDatasources();