25 return "event_handling_data";
40 $this->component_repository = $environment->
getResource(
Setup\Environment::RESOURCE_COMPONENT_REPOSITORY);
42 return parent::achieve($environment);
47 $processor = new \ilEventHandlingDefinitionProcessor();
62 protected function getComponents(): \Iterator
64 yield
from parent::getComponents();
66 foreach ($this->component_repository->getPlugins() as
$plugin) {
67 $xml_plugin_path =
$plugin->getPath() .
'/plugin.xml';
68 if (!file_exists($xml_plugin_path)) {
80 $plugin_and_components_reader->purge();
81 $plugin_and_components_reader->readComponentDefinitions();
ilComponentRepository $component_repository
getPreconditions(Setup\Environment $environment)
achieve(Setup\Environment $environment)
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
An environment holds resources to be used in the setup process.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i....
Readable part of repository interface to ilComponentDataDB.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...