You are here

public function Group::getConflictingGroups in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/Group.php \Drupal\rng\Entity\Group::getConflictingGroups()
  2. 8 src/Entity/Group.php \Drupal\rng\Entity\Group::getConflictingGroups()

Get conflicting groups.

Groups which cannot exist on a registration for this for this group to be added.

Return value

\Drupal\rng\Entity\GroupInterface[] Groups that conflict with this group.

Overrides GroupInterface::getConflictingGroups

File

src/Entity/Group.php, line 110

Class

Group
Defines the application group entity class.

Namespace

Drupal\rng\Entity

Code

public function getConflictingGroups() {
  return $this->groups_conflicting
    ->referencedEntities();
}