You are here

public function RegistrationInterface::addGroup in RNG - Events and Registrations 8

Add a group to the registration.

Parameters

\Drupal\rng\GroupInterface $group: The group to add.

Return value

\Drupal\rng\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/RegistrationInterface.php, line 107

Class

RegistrationInterface
Provides an interface defining a Registration entity.

Namespace

Drupal\rng

Code

public function addGroup(GroupInterface $group);