You are here

public function CalendarEvent::setId in Calendar 8.2

Setter for the event id.

@

Parameters

int $id: The event id is derived from related entity.

File

src/CalendarEvent.php, line 191

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

public function setId($id) {
  $this->id = $id;
}