You are here

function ContextUIController::__construct in Context 8

Same name and namespace in other branches
  1. 8.4 modules/context_ui/src/Controller/ContextUIController.php \Drupal\context_ui\Controller\ContextUIController::__construct()
  2. 8.0 modules/context_ui/src/Controller/ContextUIController.php \Drupal\context_ui\Controller\ContextUIController::__construct()

Construct a new context controller.

Parameters

ContextManager $contextManager: The Context module context manager.

ContextReactionManager $contextReactionManager: The Context module context reaction plugin manager.

ConditionManager $conditionManager: The Drupal core condition manager.

File

modules/context_ui/src/Controller/ContextUIController.php, line 58

Class

ContextUIController

Namespace

Drupal\context_ui\Controller

Code

function __construct(ContextManager $contextManager, ContextReactionManager $contextReactionManager, ConditionManager $conditionManager) {
  $this->contextManager = $contextManager;
  $this->contextReactionManager = $contextReactionManager;
  $this->conditionManager = $conditionManager;
}