FilterFormatInterface::setFilterConfig

public FilterFormatInterface::setFilterConfig($instance_id, array $configuration)

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.

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);
doc_Drupal
2016-10-29 09:14:46
Comments
Leave a Comment

Please login to continue.