27use ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
41 return $this->context_collection->
main();
52 if (!$this->showHelpTool()) {
56 $f =
$DIC->ui()->factory();
57 $ttm =
$DIC->help()->internal()->domain()->tooltips();
59 $this->
globalScreen()->collector()->mainmenu()->collectOnce();
60 foreach ($this->
globalScreen()->collector()->mainmenu()->getRawItems() as $item) {
62 $p = $item->getProviderIdentification();
64 $tt_text = $ttm->getMainMenuTooltip($p->getInternalIdentifier());
65 $tt_text = addslashes(str_replace(array(
"\n",
"\r"),
'', $tt_text));
66 if ($tt_text !==
"") {
68 $item->withTopics(...
$DIC->ui()->factory()->helpTopics($tt_text));
Class AbstractModificationProvider.
HTML export view layout provider, hides main and meta bar.
getMainBarModification(CalledContexts $screen_context_stack)
No main bar in HTML exports.
Interface ModificationProvider.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.