public function RegistrationInterface::getEvent in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 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\EntityCode
public function getEvent();