You are here

public function State::getEventType in Booking and Availability Management Tools for Drupal 8

Overrides StateInterface::getEventType

File

modules/bat_event/src/Entity/State.php, line 139
Contains \Drupal\bat_event\Entity\State.

Class

State
Defines the State entity.

Namespace

Drupal\bat_event\Entity

Code

public function getEventType() {
  return $this
    ->get('event_type')->entity;
}