You are here

public static function Plugin3A::create in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/tests/modules/service_container_annotation_discovery_test/src/Plugin/Plugin3/Plugin3A/Plugin3A.php \Drupal\service_container_annotation_discovery_test\Plugin\Plugin3\Plugin3A\Plugin3A::create()

@inheritdoc

Overrides ContainerFactoryPluginInterface::create

File

modules/providers/service_container_annotation_discovery/tests/modules/service_container_annotation_discovery_test/src/Plugin/Plugin3/Plugin3A/Plugin3A.php, line 27

Class

Plugin3A
Class Plugin3A

Namespace

Drupal\service_container_annotation_discovery_test\Plugin\Plugin3\Plugin3A

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, 'Hello world!');
}