public function ConfigFactory::__construct

Constructs the Config factory.

Parameters

\Drupal\Core\Config\StorageInterface: The configuration storage engine.

\Drupal\Core\Config\Context\ContextInterface: Configuration context object.

File

drupal/core/lib/Drupal/Core/Config/ConfigFactory.php, line 62
Definition of Drupal\Core\Config\ConfigFactory.

Class

ConfigFactory
Defines the configuration object factory.

Namespace

Drupal\Core\Config

Code

public function __construct(StorageInterface $storage, ContextInterface $context) {
  $this->storage = $storage;
  $this
    ->enterContext($context);
}