You are here

public function Meeting::getCalendarEvent in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Entity/Meeting.php \Drupal\opigno_moxtra\Entity\Meeting::getCalendarEvent()

Returns the entity of the related calendar event.

Return value

\Drupal\opigno_calendar_event\Entity\CalendarEvent|null The entity of the related calendar event, or NULL in case calendar event field has not been set on the entity.

Overrides MeetingInterface::getCalendarEvent

File

src/Entity/Meeting.php, line 217

Class

Meeting
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

public function getCalendarEvent() {
  return $this
    ->get('calendar_event')->entity;
}