You are here

public function NormalizedReadOnlyStorage::read in Configuration Normalizer 8

Same name and namespace in other branches
  1. 2.0.x src/Config/NormalizedReadOnlyStorage.php \Drupal\config_normalizer\Config\NormalizedReadOnlyStorage::read()

Reads configuration data from the storage.

Parameters

string $name: The name of a configuration object to load.

Return value

array|bool The configuration data stored for the configuration object name. If no configuration data exists for the given name, FALSE is returned.

Overrides StorageInterface::read

File

src/Config/NormalizedReadOnlyStorage.php, line 73

Class

NormalizedReadOnlyStorage
Defines the normalized read only storage.

Namespace

Drupal\config_normalizer\Config

Code

public function read($name) {
  $data = parent::read($name);
  $data = $this
    ->normalize($name, $data);
  return $data;
}