public function UnsavedIndexConfiguration::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.
Overrides IndexInterface::getDatasources
File
- src/
UnsavedIndexConfiguration.php, line 241
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function getDatasources() {
return $this->entity
->getDatasources();
}