You are here

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\GroupContentEnabler

Code

protected function getEventType() {
  return EventType::load($this
    ->getEntityBundle());
}