You are here

protected function MeetingController::buildMeetingEnded in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Controller/MeetingController.php \Drupal\opigno_moxtra\Controller\MeetingController::buildMeetingEnded()

Returns render array for the ended live meeting.

Parameters

\Drupal\opigno_moxtra\MeetingInterface $opigno_moxtra_meeting: The Live Meeting.

Return value

array Render array.

1 call to MeetingController::buildMeetingEnded()
MeetingController::index in src/Controller/MeetingController.php
Returns index page for the live meeting.

File

src/Controller/MeetingController.php, line 262

Class

MeetingController
Class MeetingController.

Namespace

Drupal\opigno_moxtra\Controller

Code

protected function buildMeetingEnded(MeetingInterface $opigno_moxtra_meeting) {
  return [
    '#type' => 'container',
    'message' => [
      '#markup' => '<div class="meeting-ended">' . $this
        ->t('This live meeting has ended.') . '<i class="icon-checked-circle"></i></div>',
    ],
    'navigation' => $this
      ->buildNavigation($opigno_moxtra_meeting),
  ];
}