You are here

public function NormalizedReadOnlyStorage::setContext in Configuration Normalizer 2.0.x

Same name and namespace in other branches
  1. 8 src/Config/NormalizedReadOnlyStorage.php \Drupal\config_normalizer\Config\NormalizedReadOnlyStorage::setContext()

Sets the context to be used for normalization.

If not given, values are defaulted to those in ::DEFAULT_CONTEXT.

Parameters

array $context: (optional) Unused.

Overrides NormalizedReadOnlyStorageInterface::setContext

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/NormalizedReadOnlyStorage.php, line 49

Class

NormalizedReadOnlyStorage
Defines the normalized read only storage.

Namespace

Drupal\config_normalizer\Config

Code

public function setContext(array $context = []) {
}