You are here

public function IndexInterface::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

2 methods override IndexInterface::setProcessors()
Index::setProcessors in src/Entity/Index.php
Sets this index's processor plugins.
UnsavedIndexConfiguration::setProcessors in src/UnsavedIndexConfiguration.php
Sets this index's processor plugins.

File

src/IndexInterface.php, line 368

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function setProcessors(array $processors);