You are here

public function ThemeSwitcherNegotiator::__construct in Context 8

Same name and namespace in other branches
  1. 8.4 src/Theme/ThemeSwitcherNegotiator.php \Drupal\context\Theme\ThemeSwitcherNegotiator::__construct()

Service constructor.

Parameters

\Drupal\context\ContextManager $contextManager: ContextManager.

File

src/Theme/ThemeSwitcherNegotiator.php, line 35

Class

ThemeSwitcherNegotiator
Context Theme Switcher Negotiator.

Namespace

Drupal\context\Theme

Code

public function __construct(ContextManager $contextManager) {
  $this->contextManager = $contextManager;
}