public function ConfigNormalizerInterface::normalize in Configuration Normalizer 8
Same name and namespace in other branches
- 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.
array $context: An array of key-value pairs to pass additional context when needed.
3 methods override ConfigNormalizerInterface::normalize()
- ConfigNormalizerActive::normalize in src/
Plugin/ ConfigNormalizer/ ConfigNormalizerActive.php - Normalizes config for comparison.
- ConfigNormalizerFilterFormat::normalize in src/
Plugin/ ConfigNormalizer/ ConfigNormalizerFilterFormat.php - Normalizes config for comparison.
- ConfigNormalizerSort::normalize in src/
Plugin/ ConfigNormalizer/ ConfigNormalizerSort.php - Normalizes config for comparison.
File
- src/
Plugin/ ConfigNormalizerInterface.php, line 25
Class
- ConfigNormalizerInterface
- Defines an interface for Config normalizer plugins.
Namespace
Drupal\config_normalizer\PluginCode
public function normalize($name, array &$data, array $context);