You are here

public function UnsavedIndexConfiguration::getDatasourceIds in Search API 8

Retrieves the IDs of all datasources enabled for this index.

Return value

string[] The IDs of the datasource plugins used by this index.

Overrides IndexInterface::getDatasourceIds

File

src/UnsavedIndexConfiguration.php, line 248

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function getDatasourceIds() {
  return $this->entity
    ->getDatasourceIds();
}