You are here

public function ModuleConfigOverrides::__construct in Config override 8

Creates a new ModuleConfigOverrides instance.

Parameters

string $root:

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler:

\Drupal\Core\Cache\CacheBackendInterface $cacheBackend:

File

src/ModuleConfigOverrides.php, line 44
Contains \Drupal\config_override\ModuleConfigOverrides.

Class

ModuleConfigOverrides

Namespace

Drupal\config_override

Code

public function __construct($root, ModuleHandlerInterface $moduleHandler, CacheBackendInterface $cacheBackend) {
  $this->root = $root;
  $this->moduleHandler = $moduleHandler;
  $this->cacheBackend = $cacheBackend;
}