You are here

public function ConditionFormBase::__construct in Block Visibility Groups 8

ConditionFormBase constructor.

Parameters

\Drupal\Core\Plugin\Context\ContextRepositoryInterface $contextRepository:

1 method overrides ConditionFormBase::__construct()
ConditionAddForm::__construct in src/Form/ConditionAddForm.php
Constructs a new ConditionAddForm.

File

src/Form/ConditionFormBase.php, line 50

Class

ConditionFormBase
Provides a base form for editing and adding a condition.

Namespace

Drupal\block_visibility_groups\Form

Code

public function __construct(ContextRepositoryInterface $context_repository) {
  $this->contextRepository = $context_repository;
}