public function Registration::getGroups in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/Registration.php \Drupal\rng\Entity\Registration::getGroups()
- 3.x src/Entity/Registration.php \Drupal\rng\Entity\Registration::getGroups()
Get groups for the registration.
Return value
\Drupal\rng\GroupInterface[] An array of registration_group entities.
Overrides RegistrationInterface::getGroups
1 call to Registration::getGroups()
- Registration::addGroup in src/
Entity/ Registration.php - Add a group to the registration.
File
- src/
Entity/ Registration.php, line 162
Class
- Registration
- Defines the registration entity class.
Namespace
Drupal\rng\EntityCode
public function getGroups() {
return $this->groups
->referencedEntities();
}