public function ConfigNormalizerInterface::normalize in Configuration Normalizer 2.0.x
Same name in this branch
- 2.0.x src/ConfigNormalizerInterface.php \Drupal\config_normalizer\ConfigNormalizerInterface::normalize()
- 2.0.x src/Plugin/ConfigNormalizerInterface.php \Drupal\config_normalizer\Plugin\ConfigNormalizerInterface::normalize()
Normalizes config for comparison.
Normalization can help ensure that config from different storages can be compared meaningfully.
Parameters
string $name: The name of a configuration object to normalize.
array $data: Configuration array to normalize.
Return value
array Normalized configuration array.
2 methods override ConfigNormalizerInterface::normalize()
- ConfigItemNormalizerInterface::normalize in src/
ConfigItemNormalizerInterface.php - Normalizes config for comparison.
- ConfigNormalizer::normalize in src/
ConfigNormalizer.php - Normalizes config for comparison.
File
- src/
ConfigNormalizerInterface.php, line 26
Class
- ConfigNormalizerInterface
- Defines an interface for config item normalizers.
Namespace
Drupal\config_normalizerCode
public function normalize($name, array $data);