You are here

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

Same name and namespace in other branches
  1. 3.x src/Entity/GroupInterface.php \Drupal\rng\Entity\GroupInterface::setEvent()

Set associated event.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity:

Return value

\Drupal\rng\Entity\RegistrationInterface Returns group for chaining.

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

File

src/Entity/GroupInterface.php, line 28

Class

GroupInterface
Provides an interface defining a registration group entity.

Namespace

Drupal\rng\Entity

Code

public function setEvent(ContentEntityInterface $entity);