public function EventMeta::getEvent in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/EventMeta.php \Drupal\rng\EventMeta::getEvent()
- 3.x src/EventMeta.php \Drupal\rng\EventMeta::getEvent()
Get the event entity.
Return value
\Drupal\Core\Entity\EntityInterface The event entity.
Overrides EventMetaInterface::getEvent
4 calls to EventMeta::getEvent()
- EventMeta::createDefaultEventMessages in src/
EventMeta.php - Create messages for Event from Default messages for this Event Type.
- EventMeta::getDateString in src/
EventMeta.php - @inheritDoc
- EventMeta::getDefaultRules in src/
EventMeta.php - Gets site default access rules and associated conditions and actions.
- EventMeta::trigger in src/
EventMeta.php - Manually triggers rules for this event.
File
- src/
EventMeta.php, line 140
Class
- EventMeta
- Meta event wrapper for RNG.
Namespace
Drupal\rngCode
public function getEvent() {
return $this->entity;
}