protected function GroupEvent::getEventType in Event 8
Retrieves the event type this plugin supports.
Return value
\Drupal\event\EventTypeInterface The event type this plugin supports.
File
- modules/
gevent/ src/ Plugin/ GroupContentEnabler/ GroupEvent.php, line 33
Class
- GroupEvent
- Provides a content enabler for events.
Namespace
Drupal\gevent\Plugin\GroupContentEnablerCode
protected function getEventType() {
return EventType::load($this
->getEntityBundle());
}