You are here

public static function Plugin7A::create 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_subtest/src/Plugin/Plugin7/Plugin7A/Plugin7A.php \Drupal\service_container_annotation_discovery_subtest\Plugin\Plugin7\Plugin7A\Plugin7A::create()

@inheritdoc

Overrides ContainerFactoryPluginInterface::create

File

modules/providers/service_container_annotation_discovery/tests/modules/service_container_annotation_discovery_subtest/src/Plugin/Plugin7/Plugin7A/Plugin7A.php, line 27

Class

Plugin7A
Class Plugin7A

Namespace

Drupal\service_container_annotation_discovery_subtest\Plugin\Plugin7\Plugin7A

Code

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