function FilterFormatInterface::setFilterConfig

Same name in other branches
  1. 9 core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::setFilterConfig()
  2. 8.9.x core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::setFilterConfig()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.