You are here

public function FilterFormatInterface::setFilterConfig in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::setFilterConfig()

Sets the configuration for a filter plugin instance.

Sets or replaces the configuration of a filter plugin in $this->filters, and if instantiated already, also ensures that the actual filter plugin on the FilterPluginCollection contains the identical configuration.

Parameters

string $instance_id: The ID of a filter plugin to set the configuration for.

array $configuration: The filter plugin configuration to set.

1 method overrides FilterFormatInterface::setFilterConfig()
FilterFormat::setFilterConfig in core/modules/filter/src/Entity/FilterFormat.php
Sets the configuration for a filter plugin instance.

File

core/modules/filter/src/FilterFormatInterface.php, line 35

Class

FilterFormatInterface
Provides an interface defining a filter format entity.

Namespace

Drupal\filter

Code

public function setFilterConfig($instance_id, array $configuration);