public function LingotekFakeConfigWrapper::__construct in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 3.3.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::__construct()
- 3.4.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::__construct()
- 3.6.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::__construct()
- 3.7.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::__construct()
- 3.8.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::__construct()
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/ LingotekFakeConfigWrapper.php, line 15
Class
Namespace
Drupal\lingotek_testCode
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;
}