You are here

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

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/Entity/RegistrationInterface.php, line 21

Class

RegistrationInterface
Provides an interface defining a Registration entity.

Namespace

Drupal\rng\Entity

Code

public function getEvent();