public function Index::setProcessors in Search API 8
Sets this index's processor plugins.
Parameters
\Drupal\search_api\Processor\ProcessorInterface[] $processors: An array of processors.
Return value
$this
Overrides IndexInterface::setProcessors
File
- src/
Entity/ Index.php, line 638
Class
- Index
- Defines the search index configuration entity.
Namespace
Drupal\search_api\EntityCode
public function setProcessors(array $processors) {
$this->processorInstances = $processors;
return $this;
}