You are here

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

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

Returns the related Live Meeting results.

Return value

array|null The related Live Meeting results, or NULL in case there are no results.

Overrides MeetingInterface::getResultsIds

File

src/Entity/Meeting.php, line 451

Class

Meeting
Defines the Workspace entity.

Namespace

Drupal\opigno_moxtra\Entity

Code

public function getResultsIds() {
  $lmr_ids = \Drupal::entityQuery('opigno_moxtra_meeting_result')
    ->condition('meeting', $this
    ->id())
    ->execute();
  if ($lmr_ids) {
    return $lmr_ids;
  }
  return NULL;
}