protected function Index::getAllPlugins in Search API 8
Retrieves all the plugins contained in this index.
Return value
\Drupal\search_api\Plugin\IndexPluginInterface[][] All plugins contained in this index, keyed by their property on the index and their plugin ID.
2 calls to Index::getAllPlugins()
- Index::getDependencyData in src/
Entity/ Index.php - Retrieves data about this index's dependencies.
- Index::onDependencyRemoval in src/
Entity/ Index.php - Informs the entity that entities it depends on will be deleted.
File
- src/
Entity/ Index.php, line 1960
Class
- Index
- Defines the search index configuration entity.
Namespace
Drupal\search_api\EntityCode
protected function getAllPlugins() {
$plugins = [];
if ($this
->hasValidTracker()) {
$plugins['tracker'][$this
->getTrackerId()] = $this
->getTrackerInstance();
}
$plugins['processors'] = $this
->getProcessors();
$plugins['datasources'] = $this
->getDatasources();
return $plugins;
}