You are here

public static function ConfigNormalizerBase::create in Configuration Normalizer 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/ConfigNormalizerBase.php \Drupal\config_normalizer\Plugin\ConfigNormalizerBase::create()

File

src/Plugin/ConfigNormalizerBase.php, line 45

Class

ConfigNormalizerBase
Base class for Config normalizer plugins.

Namespace

Drupal\config_normalizer\Plugin

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('entity_type.manager'));
}