You are here

public function CalendarEvent::getEntityTypeId in Calendar 8

Same name and namespace in other branches
  1. 8.2 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 108

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

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