class Plugin8A in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_annotation_discovery/tests/modules/service_container_annotation_discovery_subtest/src/Plugin/Plugin8/Plugin8A/Plugin8A.php \Drupal\service_container_annotation_discovery_subtest\Plugin\Plugin8\Plugin8A\Plugin8A
Class Plugin8A
@Plugin( id = "Plugin8A", label = "Label Plugin8A", arguments = { "@messenger" } )
@package Drupal\service_container_annotation_discovery_subtest\Plugin\Plugin8\Plugin8A
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\service_container_annotation_discovery_subtest\Plugin\Plugin8\Plugin8A\Plugin8A
Expanded class hierarchy of Plugin8A
File
- modules/
providers/ service_container_annotation_discovery/ tests/ modules/ service_container_annotation_discovery_subtest/ src/ Plugin/ Plugin8/ Plugin8A/ Plugin8A.php, line 23
Namespace
Drupal\service_container_annotation_discovery_subtest\Plugin\Plugin8\Plugin8AView source
class Plugin8A extends PluginBase {
/**
* @var \Drupal\service_container\Messenger\MessengerInterface
*/
protected $messenger;
public function __construct($configuration, $plugin_id, $plugin_definition, MessengerInterface $messenger) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->messenger = $messenger;
}
public function getMessenger() {
return $this->messenger;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Plugin8A:: |
protected | property | ||
Plugin8A:: |
public | function | ||
Plugin8A:: |
public | function |
Constructs a Drupal\Component\Plugin\PluginBase object. Overrides PluginBase:: |
|
PluginBase:: |
protected | property | Configuration information passed into the plugin. | |
PluginBase:: |
protected | property | The plugin implementation definition. | |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |