You are here

public function ConfigImporterEvent::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigImporterEvent.php \Drupal\Core\Config\ConfigImporterEvent::__construct()
  2. 10 core/lib/Drupal/Core/Config/ConfigImporterEvent.php \Drupal\Core\Config\ConfigImporterEvent::__construct()

Constructs ConfigImporterEvent.

Parameters

\Drupal\Core\Config\ConfigImporter $config_importer: A config import object to notify listeners about.

File

core/lib/Drupal/Core/Config/ConfigImporterEvent.php, line 21

Class

ConfigImporterEvent

Namespace

Drupal\Core\Config

Code

public function __construct(ConfigImporter $config_importer) {
  $this->configImporter = $config_importer;
}