You are here

public function ConfigCrudEvent::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigCrudEvent.php \Drupal\Core\Config\ConfigCrudEvent::__construct()

Constructs a configuration event object.

Parameters

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

1 method overrides ConfigCrudEvent::__construct()
ConfigRenameEvent::__construct in core/lib/Drupal/Core/Config/ConfigRenameEvent.php
Constructs the config rename event.

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