You are here

public function RegistrationEvent::getRegistration in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Event/RegistrationEvent.php \Drupal\rng\Event\RegistrationEvent::getRegistration()

Get the registration.

Return value

\Drupal\rng\Entity\RegistrationInterface The registration.

File

src/Event/RegistrationEvent.php, line 38

Class

RegistrationEvent
Registration event.

Namespace

Drupal\rng\Event

Code

public function getRegistration() {
  return $this->registration;
}