You are here

public function UnsavedIndexConfiguration::removeProcessor in Search API 8

Removes a processor from this index.

Parameters

string $processor_id: The ID of the processor to remove.

Return value

$this

Overrides IndexInterface::removeProcessor

File

src/UnsavedIndexConfiguration.php, line 401

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function removeProcessor($processor_id) {
  $this->entity
    ->removeProcessor($processor_id);
  return $this;
}