You are here

function ContextFormBase::__construct in Context 8.0

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

Construct a new context form.

Parameters

ContextManager $contextManager:

ContextRepositoryInterface $contextRepository:

File

modules/context_ui/src/Form/ContextFormBase.php, line 43

Class

ContextFormBase

Namespace

Drupal\context_ui\Form

Code

function __construct(ContextManager $contextManager, ContextRepositoryInterface $contextRepository) {
  $this->contextManager = $contextManager;
  $this->contextRepository = $contextRepository;
}