function ConfigCrudEvent::getConfig

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigCrudEvent.php \Drupal\Core\Config\ConfigCrudEvent::getConfig()
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigCrudEvent.php \Drupal\Core\Config\ConfigCrudEvent::getConfig()
  3. 11.x core/lib/Drupal/Core/Config/ConfigCrudEvent.php \Drupal\Core\Config\ConfigCrudEvent::getConfig()

Gets configuration object.

Return value

\Drupal\Core\Config\StorableConfigBase The configuration object that caused the event to fire.

File

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

Class

ConfigCrudEvent
Wraps a configuration event for event listeners.

Namespace

Drupal\Core\Config

Code

public function getConfig() {
    return $this->config;
}

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