public function NormalizedReadOnlyStorageInterface::setContext in Configuration Normalizer 2.0.x
Same name and namespace in other branches
- 8 src/Config/NormalizedReadOnlyStorageInterface.php \Drupal\config_normalizer\Config\NormalizedReadOnlyStorageInterface::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.
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
1 method overrides NormalizedReadOnlyStorageInterface::setContext()
- NormalizedReadOnlyStorage::setContext in src/
Config/ NormalizedReadOnlyStorage.php - Sets the context to be used for normalization.
File
- src/
Config/ NormalizedReadOnlyStorageInterface.php, line 87
Class
- NormalizedReadOnlyStorageInterface
- Interface for a normalized read only storage.
Namespace
Drupal\config_normalizer\ConfigCode
public function setContext(array $context = []);