You are here

public function Meeting::getCalendarEventId in Opigno Moxtra 8

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

Returns the ID of the related calendar event.

Return value

int|null The ID of the related calendar event, or NULL in case calendar event field has not been set on the entity.

Overrides MeetingInterface::getCalendarEventId

File

src/Entity/Meeting.php, line 202

Class

Meeting
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

public function getCalendarEventId() {
  return $this
    ->get('calendar_event')->target_id;
}