You are here

public function GroupEvaluator::__construct in Block Visibility Groups 8

Constructor.

File

src/GroupEvaluator.php, line 46

Class

GroupEvaluator
Class ConditionEvaluator.

Namespace

Drupal\block_visibility_groups

Code

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