51 return $this->context_collection->
repository();
58 $logo = $this->
globalScreen()->layout()->factory()->logo();
60 $logo = $logo->withModification(
function (?
Image $current) : ?
Image {
64 return $logo->withHighPriority();
72 $logo = $this->
globalScreen()->layout()->factory()->logo();
74 $logo = $logo->withModification(
function (?
Image $current) : ?
Image {
78 return $logo->withHighPriority();
88 $mainBar = $this->
globalScreen()->layout()->factory()->mainbar();
90 $mainBar = $mainBar->withModification(
function (?
MainBar $current) : ?
MainBar {
94 return $mainBar->withHighPriority();
104 $metaBar = $this->
globalScreen()->layout()->factory()->metabar();
106 $metaBar = $metaBar->withModification(
function (?
MetaBar $current) : ?
MetaBar {
110 return $metaBar->withHighPriority();
120 $footer = $this->
globalScreen()->layout()->factory()->footer();
122 $footer = $footer->withModification(
function (?
Footer $current) : ?
Footer {
126 return $footer->withHighPriority();
140 $additionalData = $called_contexts->
current()->getAdditionalData();
141 $isKioskModeEnabled = $additionalData->is(self::TEST_PLAYER_KIOSK_MODE_ENABLED,
true);
143 return $isKioskModeEnabled;
150 $title = $called_contexts->
current()->getAdditionalData()->get(self::TEST_PLAYER_SHORT_TITLE);
151 if ($title === null) {
154 return $this->
globalScreen()->layout()->factory()->short_title()
156 function (?
string $content) use ($title) : ?
string {
160 ->withHighPriority();
168 $title = $called_contexts->
current()->getAdditionalData()->get(self::TEST_PLAYER_TITLE);
169 if ($title === null) {
172 return $this->
globalScreen()->layout()->factory()->view_title()
174 function (?
string $content) use ($title) : ?
string {
178 ->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.