You are here

public function BundleConfigImportValidate::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php \Drupal\Core\Entity\Event\BundleConfigImportValidate::__construct()

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 43
Contains \Drupal\Core\Entity\Event\BundleConfigImportValidate.

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;
}