W3cubDocs

/Drupal 8

public function ConfigCrudEvent::__construct

public ConfigCrudEvent::__construct(Config $config)

Constructs a configuration event object.

Parameters

\Drupal\Core\Config\Config: Configuration object.

File

core/lib/Drupal/Core/Config/ConfigCrudEvent.php, line 25

Class

ConfigCrudEvent
Wraps a configuration event for event listeners.

Namespace

Drupal\Core\Config

Code

public function __construct(Config $config) {
  $this->config = $config;
}

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