W3cubDocs

/Drupal 8

protected static function ConfigEntityBase::getConfigManager

protected static 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 607

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

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

© 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!Entity!ConfigEntityBase.php/function/ConfigEntityBase::getConfigManager/8.1.x