8.3.x ConfigEntityBase.php protected static ConfigEntityBase::getConfigManager()
8.0.x ConfigEntityBase.php protected static ConfigEntityBase::getConfigManager()
8.1.x ConfigEntityBase.php protected static ConfigEntityBase::getConfigManager()
8.2.x ConfigEntityBase.php protected static ConfigEntityBase::getConfigManager()
8.4.x ConfigEntityBase.php protected static ConfigEntityBase::getConfigManager()

Gets the configuration manager.

Return value

\Drupal\Core\Config\ConfigManager The configuration manager.

1 call to ConfigEntityBase::getConfigManager()
ConfigEntityBase::preDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Acts on entities before they are deleted and before hooks are invoked.

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 607

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

protected static function getConfigManager() {
  return \Drupal::service('config.manager');
}