public function EventMeta::getEventType in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/EventMeta.php \Drupal\rng\EventMeta::getEventType()
- 3.x src/EventMeta.php \Drupal\rng\EventMeta::getEventType()
Get the event type for the event.
Return value
\Drupal\rng\Entity\EventTypeInterface The event type for the event.
Overrides EventMetaInterface::getEventType
3 calls to EventMeta::getEventType()
- EventMeta::getCreatableIdentityTypes in src/
EventMeta.php - Get identity types which can be created for this event.
- EventMeta::getDateString in src/
EventMeta.php - @inheritDoc
- EventMeta::getIdentityTypes in src/
EventMeta.php - Get identity types which can be referenced for this event.
File
- src/
EventMeta.php, line 147
Class
- EventMeta
- Meta event wrapper for RNG.
Namespace
Drupal\rngCode
public function getEventType() {
return $this->eventManager
->eventType($this->entity
->getEntityTypeId(), $this->entity
->bundle());
}