ConfigNormalizerInterface.php in Configuration Normalizer 2.0.x
Same filename in this branch
Namespace
Drupal\config_normalizerFile
src/ConfigNormalizerInterface.phpView source
<?php
namespace Drupal\config_normalizer;
/**
* Defines an interface for config item normalizers.
*
* @api This is the main API of this module.
*/
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);
}
Interfaces
Name | Description |
---|---|
ConfigNormalizerInterface | Defines an interface for config item normalizers. |