You are here

public function GroupInterface::setEvent in RNG - Events and Registrations 8

Set associated event.

Parameters

ContentEntityInterface $entity:

Return value

\Drupal\rng\RegistrationInterface Returns group for chaining.

1 method overrides GroupInterface::setEvent()
Group::setEvent in src/Entity/Group.php
Set associated event.

File

src/GroupInterface.php, line 28

Class

GroupInterface
Provides an interface defining a registration group entity.

Namespace

Drupal\rng

Code

public function setEvent(ContentEntityInterface $entity);