W3cubDocs

/Drupal 8

public function ConfigCrudEvent::getConfig

public ConfigCrudEvent::getConfig()

Gets configuration object.

Return value

\Drupal\Core\Config\Config 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;
}

© 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::getConfig/8.1.x