public function Theme::meetingRecord in BigBlueButton 8
Theme meeting status.
Parameters
$meeting:
Return value
array|string
File
- src/
Service/ Theme.php, line 100
Class
- Theme
- Class Theme.
Namespace
Drupal\bbb\ServiceCode
public function meetingRecord($meeting) {
$meeting = $meeting['meeting'];
// Only if the meeting is set to record do we output as such.
$output = '';
if (isset($meeting->record) && $meeting->record) {
$output = [
'#type' => 'container',
'#attributes' => [
'class' => [
'bbb-meeting-record',
],
],
'message' => $this
->t('This meeting is set to be recorded.'),
];
}
return $output;
}