20 declare(strict_types=1);
32 return hash(
"sha256", self::class);
40 return "ilPluginAdmin is initialized and stored into the environment.";
57 new \ilLanguagesInstalledAndUpdatedObjective(
new ilSetupLanguage(
'en')),
72 $GLOBALS[
"DIC"] =
new DI\Container();
73 $GLOBALS[
"DIC"][
"lng"] =
new class () {
74 public function loadLanguageModule():
void 79 $environment = $environment->withResource(
80 Setup\Environment::RESOURCE_PLUGIN_ADMIN,
81 new ilPluginAdmin($environment->getResource(
Setup\Environment::RESOURCE_COMPONENT_REPOSITORY))
94 return is_null($environment->getResource(
Setup\Environment::RESOURCE_PLUGIN_ADMIN));
getPreconditions(Setup\Environment $environment)
language handling for setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
isApplicable(Setup\Environment $environment)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.
achieve(Setup\Environment $environment)