You are here

public function ContextDisableForm::__construct in Context 8.4

Same name and namespace in other branches
  1. 8 modules/context_ui/src/Form/ContextDisableForm.php \Drupal\context_ui\Form\ContextDisableForm::__construct()

The ContextDisableForm constructor.

Parameters

\Drupal\context\ContextManager $contextManager: The Context module context manager.

File

modules/context_ui/src/Form/ContextDisableForm.php, line 29

Class

ContextDisableForm
Provides a form to disable a context.

Namespace

Drupal\context_ui\Form

Code

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