interface ConfigNormalizerInterface in Configuration Normalizer 8
Same name and namespace in other branches
- 2.0.x src/Plugin/ConfigNormalizerInterface.php \Drupal\config_normalizer\Plugin\ConfigNormalizerInterface
Defines an interface for Config normalizer plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\config_normalizer\Plugin\ConfigNormalizerInterface
Expanded class hierarchy of ConfigNormalizerInterface
All classes that implement ConfigNormalizerInterface
File
- src/
Plugin/ ConfigNormalizerInterface.php, line 10
Namespace
Drupal\config_normalizer\PluginView source
interface ConfigNormalizerInterface extends PluginInspectionInterface {
/**
* 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
* An array of key-value pairs to pass additional context when needed.
*/
public function normalize($name, array &$data, array $context);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigNormalizerInterface:: |
public | function | Normalizes config for comparison. | 3 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |