You are here

interface ConfigItemNormalizerInterface in Configuration Normalizer 2.0.x

Same name and namespace in other branches
  1. 8 src/ConfigItemNormalizerInterface.php \Drupal\config_normalizer\ConfigItemNormalizerInterface

Defines an interface for config item normalizers.

Hierarchy

Expanded class hierarchy of ConfigItemNormalizerInterface

All classes that implement ConfigItemNormalizerInterface

Deprecated

in config_normalizer:2.0.0-alpha1 and is removed from config_normalizer:2.0.0. Use ConfigNormalizerInterface instead.

See also

https://www.drupal.org/project/config_normalizer/issues/3230426

File

src/ConfigItemNormalizerInterface.php, line 11

Namespace

Drupal\config_normalizer
View source
interface ConfigItemNormalizerInterface extends 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.
   * @param array $context
   *   (optional, deprecated) This parameter will be removed in 2.0.0.
   *
   * @return array
   *   Normalized configuration array.
   */
  public function normalize($name, array $data, array $context = []);

}

Members