47 $title = $this->dic->
language()->txt(
"mm_personal_and_shared_r");
48 $icon = $this->dic->ui()->factory()->symbol()->icon()->standard(
"fold", $title);
50 $this->mainmenu->link($this->
if->identifier(
'mm_pd_wsp'))
52 ->withAction(
"ilias.php?baseClass=ilDashboardGUI&cmd=jumpToWorkspace")
53 ->withParent(StandardTopItemsProvider::getInstance()->getPersonalWorkspaceIdentification())
56 ->withNonAvailableReason($this->dic->ui()->factory()->legacy()->content(
"{$this->dic->language()->txt('component_not_active')}"))
58 function () use (
$dic) {
59 return !
$dic->
settings()->get(
"disable_personal_workspace");
if(!file_exists('../ilias.ini.php'))
withAvailableCallable(callable $is_available)
Interface StaticMainMenuProvider.
language()
Get interface to the i18n service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class WorkspaceMainBarProvider.
settings()
Get the interface to the settings.