class Plugin2B 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_test/src/Plugin/Plugin2/Plugin2B/Plugin2B.php \Drupal\service_container_annotation_discovery_test\Plugin\Plugin2\Plugin2B\Plugin2B
Class Plugin2B
@Plugin( id = "Plugin2B", label = "Label Plugin2B" )
@package Drupal\service_container_annotation_discovery_test\Plugin\Plugin2\Plugin2B
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\service_container_annotation_discovery_test\Plugin\Plugin2\Plugin2B\Plugin2B
Expanded class hierarchy of Plugin2B
1 string reference to 'Plugin2B'
- ServiceContainerAnnotationDiscoveryIntegrationTest::testDoctrinePlugin in modules/
providers/ service_container_annotation_discovery/ lib/ Drupal/ service_container_annotation_discovery/ Tests/ ServiceContainerAnnotationDiscoveryIntegrationTest.php - Tests if plugins with annotations are available as services.
File
- modules/
providers/ service_container_annotation_discovery/ tests/ modules/ service_container_annotation_discovery_test/ src/ Plugin/ Plugin2/ Plugin2B/ Plugin2B.php, line 18
Namespace
Drupal\service_container_annotation_discovery_test\Plugin\Plugin2\Plugin2BView source
class Plugin2B extends PluginBase {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
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:: |
|
PluginBase:: |
public | function | Constructs a Drupal\Component\Plugin\PluginBase object. | 5 |