You are here

interface ConfigNormalizerInterface in Configuration Normalizer 2.0.x

Same name in this branch
  1. 2.0.x src/ConfigNormalizerInterface.php \Drupal\config_normalizer\ConfigNormalizerInterface
  2. 2.0.x src/Plugin/ConfigNormalizerInterface.php \Drupal\config_normalizer\Plugin\ConfigNormalizerInterface
Same name and namespace in other branches
  1. 8 src/Plugin/ConfigNormalizerInterface.php \Drupal\config_normalizer\Plugin\ConfigNormalizerInterface

Defines an interface for Config normalizer plugins.

Hierarchy

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\Plugin
View 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

Namesort descending Modifiers Type Description Overrides
ConfigNormalizerInterface::normalize public function Normalizes config for comparison.
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2