You are here

class Plugin1A in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_annotation_discovery/tests/modules/service_container_annotation_discovery_test/src/Plugin/Plugin1/Plugin1A/Plugin1A.php \Drupal\service_container_annotation_discovery_test\Plugin\Plugin1\Plugin1A\Plugin1A

Class Plugin1A

@Plugin( id = "Plugin1A", label = "Label Plugin1A" )

@package Drupal\service_container_annotation_discovery_test\Plugin\Plugin1\Plugin1A

Hierarchy

Expanded class hierarchy of Plugin1A

2 string references to 'Plugin1A'
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.
ServiceContainerAnnotationDiscoveryIntegrationTest::testMultiple in modules/providers/service_container_annotation_discovery/lib/Drupal/service_container_annotation_discovery/Tests/ServiceContainerAnnotationDiscoveryIntegrationTest.php
Tests if multiple module with plugins annotations are available as services.

File

modules/providers/service_container_annotation_discovery/tests/modules/service_container_annotation_discovery_test/src/Plugin/Plugin1/Plugin1A/Plugin1A.php, line 18

Namespace

Drupal\service_container_annotation_discovery_test\Plugin\Plugin1\Plugin1A
View source
class Plugin1A extends PluginBase {

}

Members

Namesort descending Modifiers Type Description Overrides
PluginBase::$configuration protected property Configuration information passed into the plugin.
PluginBase::$pluginDefinition protected property The plugin implementation definition.
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::__construct public function Constructs a Drupal\Component\Plugin\PluginBase object. 5