You are here

public function EventMeta::getEvent in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/EventMeta.php \Drupal\rng\EventMeta::getEvent()
  2. 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\rng

Code

public function getEvent() {
  return $this->entity;
}