public function Index::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
1 call to Index::getDatasourceIds()
- Index::reactToDatasourceSwitch in src/
Entity/ Index.php - Checks whether the index's datasources changed and reacts accordingly.
File
- src/
Entity/ Index.php, line 349
Class
- Index
- Defines the search index configuration entity.
Namespace
Drupal\search_api\EntityCode
public function getDatasourceIds() {
return array_keys($this
->getDatasources());
}