You are here

public function Facet::removeProcessor in Facets 8

Removes a processor for this facet.

Parameters

string $processor_id: The plugin id of the processor.

Overrides FacetInterface::removeProcessor

File

src/Entity/Facet.php, line 922

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function removeProcessor($processor_id) {
  unset($this->processor_configs[$processor_id]);
  unset($this->processors[$processor_id]);
}