public function NormalizedStorageComparerTrait::setNormalizer in Configuration Normalizer 2.0.x
Sets the normalizer manager service to use.
Parameters
\Drupal\config_normalizer\ConfigNormalizerInterface $normalizer: The normalizer service.
Return value
$this
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/ NormalizedStorageComparerTrait.php, line 73
Class
- NormalizedStorageComparerTrait
- Using this trait will add a ::createStorageComparer() method to the class.
Namespace
Drupal\config_normalizer\ConfigCode
public function setNormalizer(ConfigNormalizerInterface $normalizer) {
$this->configNormalizer = $normalizer;
return $this;
}