module_installer

Same name and namespace in other branches
  1. 9 core/core.services.yml \module_installer
  2. 8.9.x core/core.services.yml \module_installer
  3. 11.x core/core.services.yml \module_installer

Class

Drupal\Core\Extension\ModuleInstaller

Tags

  • service_collector
9 string references to module_installer
CheckpointStorageTest::getConfigImporter in core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php
ConfigTestTrait::configImporter in core/tests/Drupal/Tests/ConfigTestTrait.php
Returns a ConfigImporter object to import test configuration.
InstallTest::setUp in core/modules/system/tests/src/Kernel/Module/InstallTest.php
install_config_import_batch in core/includes/install.core.inc
Creates a batch for the config importer to process.
install_config_revert_install_changes in core/includes/install.core.inc
Reverts configuration if hook_install() implementations have made changes.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Extension\ModuleInstaller
  2. tags:
  3. - { name: service_collector, tag: module_install.uninstall_validator, call: addUninstallValidator }
  4. arguments:
  5. - '%app.root%'
  6. - '@module_handler'
  7. - '@kernel'
  8. - '@database'
  9. - '@update.update_hook_registry'
  10. - '@logger.channel.default'
  11. lazy: true

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.