You are here

public function CalendarEvent::getEntityId in Calendar 8

Getter for the entity id.

Return value

intmixed The entity id.

File

src/CalendarEvent.php, line 96

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

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