You are here

protected function MeetingController::buildMeetingEnded in Opigno Moxtra 3.x

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

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 content-box">' . $this
        ->t('This live meeting has ended.') . '<i class="icon-checked-circle"></i></div>',
    ],
    'navigation' => $this
      ->buildNavigation($opigno_moxtra_meeting),
  ];
}