You are here

public function NormalizedStorageComparerTrait::setConfigManager in Configuration Normalizer 8

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

Sets the configuration manager service to use.

Parameters

\Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager service.

Return value

$this

File

src/Config/NormalizedStorageComparerTrait.php, line 89

Class

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

Namespace

Drupal\config_normalizer\Config

Code

public function setConfigManager(ConfigManagerInterface $config_manager) {
  $this->configManager = $config_manager;
  return $this;
}