public function FilterFormatInterface::setFilterConfig in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 40 - Contains \Drupal\filter\FilterFormatInterface.
Class
- FilterFormatInterface
- Provides an interface defining a filter format entity.
Namespace
Drupal\filterCode
public function setFilterConfig($instance_id, array $configuration);