19 declare(strict_types=1);
51 return $this->context_collection->
main()->repository()->desktop();
61 $last_context = $called_contexts->
getLast();
64 $additional_data = $last_context->getAdditionalData();
81 $id_generator =
function (
$id) {
82 return $this->identification_provider->contextAwareIdentifier(
$id);
84 $identification = $id_generator(
'system_styles_tree');
85 $hashed = $this->
hash($identification->serialize());
87 $lng = $this->services->presentation()->utilities();
90 ->tool($identification)
92 $lng->txt(
'meta_lom_short')
95 $this->services->dic()->ui()->factory()->symbol()->icon()->standard(
97 $lng->txt(
'meta_lom_short')
100 ->withContent($this->services->dic()->ui()->factory()->legacy()->content(
101 $this->services->dic()->ui()->renderer()->render($this->
getUITree(
107 if ($c instanceof LegacySlate) {
108 $signal_id = $c->getToggleSignal()->getId();
109 return $c->withAdditionalOnLoadCode(
static function (
$id) use ($hashed) {
110 return "il.UI.maincontrols.mainbar.engageTool('$hashed');";
120 $this->services->paths()->pathFactory(),
121 $this->services->editor()->presenter(),
122 $this->services->editor()->dictionary(),
123 $this->services->editor()->linkFactory(),
124 ...$this->getElements($set, $path)
126 $f = $this->services->dic()->ui()->factory();
129 ->expandable(
'MD Editor Tree', $recursion)
131 ->withHighlightOnNodeClick(
true);
139 yield
from $this->services->paths()->navigatorFactory()->navigator(
142 )->elementsAtFinalStep();
This describes the Legacy-Slate.
const string SET_FOR_TREE
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Customizing of pimple-DIC for ILIAS.
withSymbol(Symbol $symbol)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This describes a Tree Control.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
__construct(Container $dic, ilPlugin $plugin)
const string PATH_FOR_TREE