public function EventMeta::getEvent in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 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
2 calls to EventMeta::getEvent()
- 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 114
Class
- EventMeta
- Meta event wrapper for RNG.
Namespace
Drupal\rngCode
public function getEvent() {
return $this->entity;
}