interface ConfigItemNormalizerInterface in Configuration Normalizer 8
Same name and namespace in other branches
- 2.0.x src/ConfigItemNormalizerInterface.php \Drupal\config_normalizer\ConfigItemNormalizerInterface
Defines an interface for config item normalizers.
Hierarchy
- interface \Drupal\config_normalizer\ConfigItemNormalizerInterface
Expanded class hierarchy of ConfigItemNormalizerInterface
All classes that implement ConfigItemNormalizerInterface
File
- src/
ConfigItemNormalizerInterface.php, line 8
Namespace
Drupal\config_normalizerView source
interface ConfigItemNormalizerInterface {
/**
* 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.
* @param array $context
* (optional) An array of key-value pairs to pass additional context when needed.
*
* @return array
* Normalized configuration array.
*/
public function normalize($name, array $data, array $context = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigItemNormalizerInterface:: |
public | function | Normalizes config for comparison. | 1 |