You are here

public function NormalizedReadOnlyStorage::read in Configuration Normalizer 2.0.x

Same name and namespace in other branches
  1. 8 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 ReadOnlyStorage::read

File

src/Config/NormalizedReadOnlyStorage.php, line 55

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;
}