You are here

public function EnvironmentConfigOverride::__construct in Config override 8

EnvironmentConfigOverride constructor.

Parameters

string[][] $staticEnvironment: An array of config overrides keyed config name.

File

src/EnvironmentConfigOverride.php, line 38

Class

EnvironmentConfigOverride
Provides a config override which uses the environment variable.

Namespace

Drupal\config_override

Code

public function __construct(array $staticEnvironment = []) {
  $this->environmentOverrides = $staticEnvironment;
}