public function ContextUIController::__construct in Context 8.4
Same name and namespace in other branches
- 8 modules/context_ui/src/Controller/ContextUIController.php \Drupal\context_ui\Controller\ContextUIController::__construct()
- 8.0 modules/context_ui/src/Controller/ContextUIController.php \Drupal\context_ui\Controller\ContextUIController::__construct()
Construct a new context controller.
Parameters
\Drupal\context\ContextManager $contextManager: The Context module context manager.
\Drupal\context\ContextReactionManager $contextReactionManager: The Context module context reaction plugin manager.
\Drupal\Core\Condition\ConditionManager $conditionManager: The Drupal core condition manager.
File
- modules/
context_ui/ src/ Controller/ ContextUIController.php, line 58
Class
- ContextUIController
- Provides the Context UI Controller.
Namespace
Drupal\context_ui\ControllerCode
public function __construct(ContextManager $contextManager, ContextReactionManager $contextReactionManager, ConditionManager $conditionManager) {
$this->contextManager = $contextManager;
$this->contextReactionManager = $contextReactionManager;
$this->conditionManager = $conditionManager;
}