You are here

protected static function ConfigEntityBase::getConfigManager in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getConfigManager()
  2. 9 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.

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 578

Class

ConfigEntityBase

Namespace

Drupal\Core\Config\Entity

Code

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