You are here

public function ConfigFactory::__construct in Domain Access 8

Constructs the Config factory.

Parameters

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

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

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

\Drupal\domain_config_ui\DomainConfigUIManager $domain_config_ui_manager: The domain config UI manager.

Overrides ConfigFactory::__construct

File

domain_config_ui/src/Config/ConfigFactory.php, line 35

Class

ConfigFactory
Extends core ConfigFactory class to save domain specific configuration.

Namespace

Drupal\domain_config_ui\Config

Code

public function __construct(StorageInterface $storage, EventDispatcherInterface $event_dispatcher, TypedConfigManagerInterface $typed_config, DomainConfigUIManager $domain_config_ui_manager) {
  parent::__construct($storage, $event_dispatcher, $typed_config);
  $this->domainConfigUIManager = $domain_config_ui_manager;
}