You are here

protected function NormalizedStorageComparerTrait::getConfigManager in Configuration Normalizer 2.0.x

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

Gets the configuration manager service.

Return value

\Drupal\Core\Config\ConfigManagerInterface The configuration manager.

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 87

Class

NormalizedStorageComparerTrait
Using this trait will add a ::createStorageComparer() method to the class.

Namespace

Drupal\config_normalizer\Config

Code

protected function getConfigManager() {
  return \Drupal::service('config.manager');
}