protected function NormalizedReadOnlyStorage::normalize in Configuration Normalizer 8
Same name and namespace in other branches
- 2.0.x src/Config/NormalizedReadOnlyStorage.php \Drupal\config_normalizer\Config\NormalizedReadOnlyStorage::normalize()
Normalizes configuration data.
Parameters
string $name: The name of a configuration object to load.
array $data: The configuration data to normalize.
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.
2 calls to NormalizedReadOnlyStorage::normalize()
- NormalizedReadOnlyStorage::read in src/
Config/ NormalizedReadOnlyStorage.php - Reads configuration data from the storage.
- NormalizedReadOnlyStorage::readMultiple in src/
Config/ NormalizedReadOnlyStorage.php - Reads configuration data from the storage.
File
- src/
Config/ NormalizedReadOnlyStorage.php, line 117
Class
- NormalizedReadOnlyStorage
- Defines the normalized read only storage.
Namespace
Drupal\config_normalizer\ConfigCode
protected function normalize($name, $data) {
if (!is_bool($data)) {
$data = $this->configItemNormalizer
->normalize($name, $data, $this->context);
}
return $data;
}