Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getTypedConfig()
  2. 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getTypedConfig()

Gets the typed config manager.

Return value

\Drupal\Core\Config\TypedConfigManagerInterface

File

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

Class

ConfigEntityBase

Namespace

Drupal\Core\Config\Entity

Code

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