public function Meeting::setCalendarEventId in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x src/Entity/Meeting.php \Drupal\opigno_moxtra\Entity\Meeting::setCalendarEventId()
Sets the ID of the related calendar event.
Parameters
int|null $id: The ID of the related calendar event.
Return value
$this
Overrides MeetingInterface::setCalendarEventId
File
- src/
Entity/ Meeting.php, line 209
Class
- Meeting
- Defines the Workspace entity.
Namespace
Drupal\opigno_moxtra\EntityCode
public function setCalendarEventId($id) {
$this
->set('calendar_event', [
'target_id' => $id,
]);
return $this;
}