You are here

public function EventSeriesType::getTargetEntityType in Booking and Availability Management Tools for Drupal 8

1 call to EventSeriesType::getTargetEntityType()
EventSeriesType::save in modules/bat_event_series/src/Entity/EventSeriesType.php
Saves an entity permanently.

File

modules/bat_event_series/src/Entity/EventSeriesType.php, line 95
Contains \Drupal\bat_event_series\Entity\EventSeriesType.

Class

EventSeriesType
Defines the Event series type configuration entity.

Namespace

Drupal\bat_event_series\Entity

Code

public function getTargetEntityType() {
  $event_type = EventType::load($this->target_event_type);
  return $event_type
    ->getTargetEntityType();
}