You are here

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

Get associated event.

Return value

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

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

File

src/RegistrationInterface.php, line 19

Class

RegistrationInterface
Provides an interface defining a Registration entity.

Namespace

Drupal\rng

Code

public function getEvent();