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