public function RegistrationInterface::addGroup in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/Entity/RegistrationInterface.php \Drupal\rng\Entity\RegistrationInterface::addGroup()
Add a group to the registration.
Parameters
\Drupal\rng\Entity\GroupInterface $group: The group to add.
Return value
\Drupal\rng\Entity\RegistrationInterface Returns registration for chaining.
1 method overrides RegistrationInterface::addGroup()
- Registration::addGroup in src/
Entity/ Registration.php - Add a group to the registration.
File
- src/
Entity/ RegistrationInterface.php, line 216
Class
- RegistrationInterface
- Provides an interface defining a Registration entity.
Namespace
Drupal\rng\EntityCode
public function addGroup(GroupInterface $group);