You are here

public function CalendarEvent::getEntityTypeId in Calendar 8.2

Same name and namespace in other branches
  1. 8 src/CalendarEvent.php \Drupal\calendar\CalendarEvent::getEntityTypeId()

Getter for the entity type id.

@todo Remove for getType.

Return value

string The entity type id.

File

src/CalendarEvent.php, line 203

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

public function getEntityTypeId() {
  return $this->entity
    ->getEntityTypeId();
}