public function ConfigItemNormalizerInterface::normalize in Configuration Normalizer 2.0.x
Same name and namespace in other branches
- 8 src/ConfigItemNormalizerInterface.php \Drupal\config_normalizer\ConfigItemNormalizerInterface::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.
array $context: (optional, deprecated) This parameter will be removed in 2.0.0.
Return value
array Normalized configuration array.
Overrides ConfigNormalizerInterface::normalize
File
- src/
ConfigItemNormalizerInterface.php, line 29
Class
- ConfigItemNormalizerInterface
- Defines an interface for config item normalizers.
Namespace
Drupal\config_normalizerCode
public function normalize($name, array $data, array $context = []);