public TypedConfigManager::get($name)
Gets typed configuration data.
string $name: Configuration object name.
\Drupal\Core\TypedData\TraversableTypedDataInterface Typed configuration element.
Overrides TypedConfigManagerInterface::get
public function get($name) { $data = $this->configStorage->read($name); $type_definition = $this->getDefinition($name); $data_definition = $this->buildDataDefinition($type_definition, $data); return $this->create($data_definition, $data); }
© 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!TypedConfigManager.php/function/TypedConfigManager::get/8.1.x