function ConfigImporterEvent::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigImporterEvent.php \Drupal\Core\Config\ConfigImporterEvent::__construct()
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigImporterEvent.php \Drupal\Core\Config\ConfigImporterEvent::__construct()
  3. 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.