protected property Index::$datasourceInstances in Search API 8
The instantiated datasource plugins.
In the ::preSave method we're saving the contents of these back into the $datasource_settings array. When adding, removing or changing configuration we should therefore always manipulate this property instead of the stored one.
Type: \Drupal\search_api\Datasource\DatasourceInterface[]|null
See also
getDatasources()
File
- src/
Entity/ Index.php, line 184
Class
- Index
- Defines the search index configuration entity.
Namespace
Drupal\search_api\EntityCode
protected $datasourceInstances;