public function BundleConfigImportValidate::__construct

public BundleConfigImportValidate::__construct(ConfigManagerInterface $config_manager, EntityManagerInterface $entity_manager)

Constructs the event subscriber.

Parameters

\Drupal\Core\Config\ConfigManagerInterface $config_manager: The config manager

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php, line 38

Class

BundleConfigImportValidate
Entity config importer validation event subscriber.

Namespace

Drupal\Core\Entity\Event

Code

public function __construct(ConfigManagerInterface $config_manager, EntityManagerInterface $entity_manager) {
  $this->configManager = $config_manager;
  $this->entityManager = $entity_manager;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Event!BundleConfigImportValidate.php/function/BundleConfigImportValidate::__construct/8.1.x