protected function ConfigEntityBase::getTypedConfig

protected ConfigEntityBase::getTypedConfig()

Gets the typed config manager.

Return value

\Drupal\Core\Config\TypedConfigManagerInterface

File

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

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

protected function getTypedConfig() {
  return \Drupal::service('config.typed');
}

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