You are here

public function GroupSubgroupConstraintValidator::__construct in Subgroup (Graph) 1.0.x

Constructs a GroupSubgroupConstraintValidator object.

Parameters

\Drupal\ggroup\GroupHierarchyManagerInterface $group_hierarchy_manager: The group hierarchy manager.

File

src/Plugin/Validation/Constraint/GroupSubgroupConstraintValidator.php, line 37

Class

GroupSubgroupConstraintValidator
Validates the GroupSubgroup constraint.

Namespace

Drupal\ggroup\Plugin\Validation\Constraint

Code

public function __construct(GroupHierarchyManagerInterface $group_hierarchy_manager) {
  $this->groupHierarchyManager = $group_hierarchy_manager;
}