You are here

public function ConfigItemNormalizerInterface::normalize in Configuration Normalizer 8

Same name and namespace in other branches
  1. 2.0.x src/ConfigItemNormalizerInterface.php \Drupal\config_normalizer\ConfigItemNormalizerInterface::normalize()

Normalizes config for comparison.

Normalization can help ensure that config from different storages can be compared meaningfully.

Parameters

string $name: The name of a configuration object to normalize.

array $data: Configuration array to normalize.

array $context: (optional) An array of key-value pairs to pass additional context when needed.

Return value

array Normalized configuration array.

1 method overrides ConfigItemNormalizerInterface::normalize()
ConfigItemNormalizer::normalize in src/ConfigItemNormalizer.php
Normalizes config for comparison.

File

src/ConfigItemNormalizerInterface.php, line 26

Class

ConfigItemNormalizerInterface
Defines an interface for config item normalizers.

Namespace

Drupal\config_normalizer

Code

public function normalize($name, array $data, array $context = []);