You are here

public function Group::getConflictingGroups in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Group.php \Drupal\rng\Entity\Group::getConflictingGroups()
  2. 3.x 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\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();
}