You are here

public function GroupInfo::__construct in Block Visibility Groups 8

Constructor.

Parameters

\Drupal\block_visibility_groups\GroupEvaluator $block_visibility_groups_group_evaluator:

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager:

\Drupal\Core\Executable\ExecutableManagerInterface $condition_manager:

File

block_visibility_groups_admin/src/GroupInfo.php, line 41

Class

GroupInfo
Class GroupInfo.

Namespace

Drupal\block_visibility_groups_admin

Code

public function __construct(GroupEvaluator $block_visibility_groups_group_evaluator, EntityTypeManagerInterface $entity_manager, ExecutableManagerInterface $condition_manager) {
  $this->block_visibility_groups_group_evaluator = $block_visibility_groups_group_evaluator;
  $this->group_storage = $entity_manager
    ->getStorage('block_visibility_group');
  $this->condition_manager = $condition_manager;
}