You are here

constant NormalizedReadOnlyStorageInterface::DEFAULT_CONTEXT in Configuration Normalizer 2.0.x

Same name and namespace in other branches
  1. 8 src/Config/NormalizedReadOnlyStorageInterface.php \Drupal\config_normalizer\Config\NormalizedReadOnlyStorageInterface::DEFAULT_CONTEXT

The default context for normalization.

Context is an array with the following key-valu pairs:

  • normalization_mode: The mode used for normalization.
  • reference_storage_service: a storage that the configuration is normalized against. When this is the site's active configuration storage, config.storage, normalization should replicate any changes made at config install time.

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/Config/NormalizedReadOnlyStorageInterface.php, line 60

Class

NormalizedReadOnlyStorageInterface
Interface for a normalized read only storage.

Namespace

Drupal\config_normalizer\Config

Code

const DEFAULT_CONTEXT = [
  'normalization_mode' => self::DEFAULT_NORMALIZATION_MODE,
  'reference_storage_service' => NULL,
];