You are here

public function ThemeSwitcherNegotiator::__construct in Context 8.4

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

Service constructor.

Parameters

\Drupal\context\ContextManager $contextManager: ContextManager.

File

src/Theme/ThemeSwitcherNegotiator.php, line 42

Class

ThemeSwitcherNegotiator
Context Theme Switcher Negotiator.

Namespace

Drupal\context\Theme

Code

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