ConfigItemNormalizerInterface.php in Configuration Normalizer 8
Same filename and directory in other branches
Namespace
Drupal\config_normalizerFile
src/ConfigItemNormalizerInterface.phpView source
<?php
namespace Drupal\config_normalizer;
/**
* Defines an interface for config item normalizers.
*/
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 = []);
}
Interfaces
Name | Description |
---|---|
ConfigItemNormalizerInterface | Defines an interface for config item normalizers. |