Drupal 8  8.0.2
ConfigurablePluginInterface Interface Reference
Inheritance diagram for ConfigurablePluginInterface:

Public Member Functions

 getConfiguration ()
 
 setConfiguration (array $configuration)
 
 defaultConfiguration ()
 
- Public Member Functions inherited from DependentPluginInterface
 calculateDependencies ()
 

Detailed Description

Provides an interface for a configurable plugin.

Member Function Documentation

getConfiguration ( )

Gets this plugin's configuration.

Returns
array An array of this plugin's configuration.

Implemented in DefaultProcessor, TestProcessor, ImageEffectBase, FilterBase, ConditionPluginBase, VariantBase, BlockBase, ViewsBlock, ConfigurableSearchPluginBase, ConfigurableActionBase, and TestConfigurablePlugin.

setConfiguration ( array  $configuration)

Sets the configuration for this plugin instance.

Parameters
array$configurationAn associative array containing the plugin's configuration.

Implemented in DefaultProcessor, ImageEffectBase, TestProcessor, ConditionPluginBase, VariantBase, FilterBase, FilterHtml, BlockBase, ConfigurableSearchPluginBase, ConfigurableActionBase, and TestConfigurablePlugin.


The documentation for this interface was generated from the following file: