interface ConfigurablePluginInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Component/Plugin/ConfigurablePluginInterface.php \Drupal\Component\Plugin\ConfigurablePluginInterface
Provides an interface for a configurable plugin.
Hierarchy
- interface \Drupal\Component\Plugin\DependentPluginInterface
- interface \Drupal\Component\Plugin\ConfigurablePluginInterface
Expanded class hierarchy of ConfigurablePluginInterface
All classes that implement ConfigurablePluginInterface
Related topics
14 files declare their use of ConfigurablePluginInterface
- Action.php in core/
modules/ system/ src/ Entity/ Action.php - Contains \Drupal\system\Entity\Action.
- AggregatorPluginSettingsBase.php in core/
modules/ aggregator/ src/ Plugin/ AggregatorPluginSettingsBase.php - Contains \Drupal\aggregator\Plugin\AggregatorPluginSettingsBase.
- BlockPluginInterface.php in core/
lib/ Drupal/ Core/ Block/ BlockPluginInterface.php - Contains \Drupal\Core\Block\BlockPluginInterface.
- ConditionInterface.php in core/
lib/ Drupal/ Core/ Condition/ ConditionInterface.php - Contains \Drupal\Core\Condition\ConditionInterface.
- ConfigurableActionBase.php in core/
lib/ Drupal/ Core/ Action/ ConfigurableActionBase.php - Contains \Drupal\Core\Action\ConfigurableActionBase.
File
- core/
lib/ Drupal/ Component/ Plugin/ ConfigurablePluginInterface.php, line 15 - Contains \Drupal\Component\Plugin\ConfigurablePluginInterface.
Namespace
Drupal\Component\PluginView source
interface ConfigurablePluginInterface extends DependentPluginInterface {
/**
* Gets this plugin's configuration.
*
* @return array
* An array of this plugin's configuration.
*/
public function getConfiguration();
/**
* Sets the configuration for this plugin instance.
*
* @param array $configuration
* An associative array containing the plugin's configuration.
*/
public function setConfiguration(array $configuration);
/**
* Gets default configuration for this plugin.
*
* @return array
* An associative array with the default configuration.
*/
public function defaultConfiguration();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurablePluginInterface:: |
public | function | Gets default configuration for this plugin. | 9 |
ConfigurablePluginInterface:: |
public | function | Gets this plugin's configuration. | 10 |
ConfigurablePluginInterface:: |
public | function | Sets the configuration for this plugin instance. | 10 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 15 |