You are here

public function LingotekFakeAccountConfigWrapper::__construct in Lingotek Translation 4.0.x

Constructs a configuration object.

Parameters

string $name: The name of the configuration object being constructed.

\Drupal\Core\Config\StorageInterface $storage: A storage object to use for reading and writing the configuration data.

\Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher: An event dispatcher instance to use for configuration events.

\Drupal\Core\Config\TypedConfigManagerInterface $typed_config: The typed configuration manager service.

Overrides Config::__construct

File

tests/modules/lingotek_test/src/LingotekFakeAccountConfigWrapper.php, line 15

Class

LingotekFakeAccountConfigWrapper

Namespace

Drupal\lingotek_test

Code

public function __construct($name, StorageInterface $storage, EventDispatcherInterface $event_dispatcher, TypedConfigManagerInterface $typed_config, Config $config) {
  parent::__construct($name, $storage, $event_dispatcher, $typed_config);
  $this->config = $config;
}