interface ConfigNormalizerInterface in Configuration Normalizer 2.0.x
Same name in this branch
- 2.0.x src/ConfigNormalizerInterface.php \Drupal\config_normalizer\ConfigNormalizerInterface
- 2.0.x src/Plugin/ConfigNormalizerInterface.php \Drupal\config_normalizer\Plugin\ConfigNormalizerInterface
Defines an interface for config item normalizers.
@api This is the main API of this module.
Hierarchy
- interface \Drupal\config_normalizer\ConfigNormalizerInterface
Expanded class hierarchy of ConfigNormalizerInterface
All classes that implement ConfigNormalizerInterface
2 files declare their use of ConfigNormalizerInterface
File
- src/
ConfigNormalizerInterface.php, line 10
Namespace
Drupal\config_normalizerView source
interface ConfigNormalizerInterface {
/**
* Normalizes config for comparison.
*
* Normalization can help ensure that config from different storages can be
* compared meaningfully.
*
* @param string $name
* The name of a configuration object to normalize.
* @param array $data
* Configuration array to normalize.
*
* @return array
* Normalized configuration array.
*/
public function normalize($name, array $data);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigNormalizerInterface:: |
public | function | Normalizes config for comparison. | 5 |