You are here

interface ConfigNormalizerInterface in Configuration Normalizer 8

Same name and namespace in other branches
  1. 2.0.x 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

File

src/Plugin/ConfigNormalizerInterface.php, line 10

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. 3
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