You are here

public function Meeting::getCalendarEvent in Opigno Moxtra 3.x

Same name and namespace in other branches
  1. 8 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;
}