public function PluginHelperInterface::createProcessorPlugins in Search API 8
Creates multiple processor plugin objects for this index.
Parameters
\Drupal\search_api\IndexInterface $index: The index for which to create the plugins.
string[]|null $plugin_ids: (optional) The IDs of the processors to create, or NULL to create instances for all known processors that support the given index.
array $configurations: (optional) The configurations to set for the plugins, keyed by plugin ID. Missing configurations are either taken from the index's stored settings, if they are present there, or default to an empty array.
Return value
\Drupal\search_api\processor\ProcessorInterface[] The created processor plugin objects.
Throws
\Drupal\search_api\SearchApiException Thrown if an unknown plugin ID is given.
1 method overrides PluginHelperInterface::createProcessorPlugins()
- PluginHelper::createProcessorPlugins in src/
Utility/ PluginHelper.php - Creates multiple processor plugin objects for this index.
File
- src/
Utility/ PluginHelperInterface.php, line 106
Class
- PluginHelperInterface
- Provides an interface for the plugin helper service.
Namespace
Drupal\search_api\UtilityCode
public function createProcessorPlugins(IndexInterface $index, array $plugin_ids = NULL, array $configurations = []);