51 return $this->context_collection->
repository();
57 $logo = $this->
globalScreen()->layout()->factory()->logo();
59 $logo = $logo->withModification(
function (?
Image $current): ?
Image {
63 return $logo->withHighPriority();
71 $logo = $this->
globalScreen()->layout()->factory()->logo();
73 $logo = $logo->withModification(
function (?
Image $current): ?
Image {
77 return $logo->withHighPriority();
86 $mainBar = $this->
globalScreen()->layout()->factory()->mainbar();
88 $mainBar = $mainBar->withModification(
function (?
MainBar $current): ?
MainBar {
92 return $mainBar->withHighPriority();
101 $metaBar = $this->
globalScreen()->layout()->factory()->metabar();
103 $metaBar = $metaBar->withModification(
function (?
MetaBar $current): ?
MetaBar {
107 return $metaBar->withHighPriority();
116 $footer = $this->
globalScreen()->layout()->factory()->footer();
118 $footer = $footer->withModification(
function (?
Footer $current): ?
Footer {
122 return $footer->withHighPriority();
130 $additionalData = $called_contexts->
current()->getAdditionalData();
131 $isKioskModeEnabled = $additionalData->is(self::TEST_PLAYER_KIOSK_MODE_ENABLED,
true);
133 return $isKioskModeEnabled;
139 $title = $called_contexts->
current()->getAdditionalData()->get(self::TEST_PLAYER_SHORT_TITLE);
143 return $this->
globalScreen()->layout()->factory()->short_title()
145 function (?
string $content) use ($title): ?
string {
149 ->withHighPriority();
156 if ($called_contexts->
current()->getAdditionalData()->exists(self::TEST_PLAYER_TITLE)) {
157 $title = $called_contexts->
current()->getAdditionalData()->get(self::TEST_PLAYER_TITLE);
161 return $this->
globalScreen()->layout()->factory()->view_title()
163 function (?
string $content) use ($title): ?
string {
167 ->withHighPriority();
This describes the MainBar.
getFooterModification(CalledContexts $called_contexts)
getShortTitleModification(CalledContexts $called_contexts)
Class ShortTitleModification.
Class ShortTitleModification.
getLogoModification(CalledContexts $called_contexts)
getViewTitleModification(CalledContexts $called_contexts)
getResponsiveLogoModification(CalledContexts $called_contexts)
Class AbstractModificationProvider.
getMetaBarModification(CalledContexts $called_contexts)
const TEST_PLAYER_KIOSK_MODE_ENABLED
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
isKioskModeEnabled(CalledContexts $called_contexts)
This describes the MetaBar.
const TEST_PLAYER_SHORT_TITLE
Interface ModificationProvider.
getMainBarModification(CalledContexts $called_contexts)
This describes the Footer.