interface KeyPluginInterface in Key 8
Provides an interface for all Key plugins.
Hierarchy
- interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface
- interface \Drupal\key\Plugin\KeyPluginInterface
Expanded class hierarchy of KeyPluginInterface
All classes that implement KeyPluginInterface
File
- src/
Plugin/ KeyPluginInterface.php, line 13
Namespace
Drupal\key\PluginView source
interface KeyPluginInterface extends ContainerFactoryPluginInterface, PluginInspectionInterface, ConfigurableInterface, DependentPluginInterface {
/**
* Returns the type of plugin.
*
* @return string
* The type of plugin: "key_type", "key_provider", or "key_input".
*/
public function getPluginType();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 112 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
KeyPluginInterface:: |
public | function | Returns the type of plugin. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |