interface ConfigurableInterface in Markdown 8.2
Provides an interface for a configurable plugin.
Hierarchy
- interface \Drupal\Component\Plugin\ConfigurableInterface
- interface \Drupal\markdown\BcSupport\ConfigurableInterface
Expanded class hierarchy of ConfigurableInterface
All classes that implement ConfigurableInterface
Deprecated
in markdown:8.x-2.0 and is removed from markdown:3.0.0. Use \Drupal\Component\Plugin\ConfigurableInterface instead.
See also
https://www.drupal.org/project/markdown/issues/3103679
2 files declare their use of ConfigurableInterface
- AnnotatedPluginInterface.php in src/
Plugin/ Markdown/ AnnotatedPluginInterface.php - PluginInterface.php in src/
Plugin/ Markdown/ PluginInterface.php
File
- src/
BcSupport/ ConfigurableInterface.php, line 19
Namespace
Drupal\markdown\BcSupportView source
interface ConfigurableInterface extends CoreConfigurableInterface {
/**
* 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 |
---|---|---|---|---|
ConfigurableInterface:: |
public | function |
Gets default configuration for this plugin. Overrides ConfigurableInterface:: |
1 |
ConfigurableInterface:: |
public | function |
Gets this plugin's configuration. Overrides ConfigurableInterface:: |
1 |
ConfigurableInterface:: |
public | function |
Sets the configuration for this plugin instance. Overrides ConfigurableInterface:: |
1 |