public function TypedConfigManager::get

Gets typed configuration data.

Parameters

string $name: Configuration object name.

Return value

\Drupal\Core\Config\Schema\Element Typed configuration element.

1 method overrides TypedConfigManager::get()
LocaleConfigManager::get in drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigManager.php
Gets locale wrapper with typed configuration data.

File

drupal/core/lib/Drupal/Core/Config/TypedConfigManager.php, line 48
Contains \Drupal\Core\Config\TypedConfigManager.

Class

TypedConfigManager
Manages config type plugins.

Namespace

Drupal\Core\Config

Code

public function get($name) {
  $data = $this->configStorage
    ->read($name);
  $definition = $this
    ->getDefinition($name);
  return $this
    ->create($definition, $data);
}