W3cubDocs

/Drupal 8

public function ConfigImporterEvent::__construct

public ConfigImporterEvent::__construct(ConfigImporter $config_importer)

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

© 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!Config!ConfigImporterEvent.php/function/ConfigImporterEvent::__construct/8.1.x