You are here

public function ThemeNegotiator::__construct in Visually Impaired Support (module) 8

ThemeNegotiator constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory:

The Config Factory.

\Drupal\Core\Routing\AdminContext $router_admin_context:

The Router Admin Context.

File

src/Theme/ThemeNegotiator.php, line 39

Class

ThemeNegotiator
Defines the theme negotiator.

Namespace

Drupal\visually_impaired_module\Theme

Code

public function __construct(ConfigFactoryInterface $config_factory, AdminContext $router_admin_context) {
  $this->configFactory = $config_factory;
  $this->routerAdminContext = $router_admin_context;
}