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
Same name and namespace in other branches
- 8 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
Deprecated
in config_normalizer:2.0.0-alpha1 and is removed from config_normalizer:2.0.0. No replacement.
See also
https://www.drupal.org/project/config_normalizer/issues/3230398
File
- src/
Plugin/ ConfigNormalizerInterface.php, line 13
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. | |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |