Sets the configuration for this filter plugin instance.
Parameters
array $configuration:
An associative array containing:
- status: A Boolean indicating whether the plugin is enabled.
- weight: The weight of the filter compared to others.
- settings: An associative array containing configured settings for this
filter implementation.
File
- drupal/core/modules/filter/lib/Drupal/filter/Plugin/FilterInterface.php, line 89
- Contains \Drupal\filter\Plugin\Filter\FilterInterface.
Class
- FilterInterface
- Defines the interface for text processing filter plugins.
Namespace
Drupal\filter\Plugin
Code
public function setPluginConfiguration(array $configuration);