function ConfigCrudEvent::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigCrudEvent.php \Drupal\Core\Config\ConfigCrudEvent::__construct()
- 10 core/lib/Drupal/Core/Config/ConfigCrudEvent.php \Drupal\Core\Config\ConfigCrudEvent::__construct()
- 11.x 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\ConfigCode
public function __construct(Config $config) {
$this->config = $config;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.