You are here

public function GroupInterface::getEvent 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::getEvent()

Get associated event.

Return value

\Drupal\Core\Entity\ContentEntityInterface|null An entity, or NULL if the event does not exist.

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

File

src/Entity/GroupInterface.php, line 18

Class

GroupInterface
Provides an interface defining a registration group entity.

Namespace

Drupal\rng\Entity

Code

public function getEvent();