You are here

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

Same name and namespace in other branches
  1. 3.x 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\Entity

Code

public function addGroup(GroupInterface $group);