function ConfigEntityBase::getConfigManager

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getConfigManager()
  2. 10 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getConfigManager()
  3. 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getConfigManager()

Gets the configuration manager.

Return value

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

File

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

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

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

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