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

Class

Drupal\Core\Extension\ModuleHandler

Tags

  • needs_destruction
120 string references to module_handler
AccountSettingsForm::create in core/modules/user/src/AccountSettingsForm.php
BlockConfigEntityUnitTest::setUp in core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php
BlockContentEntityReferenceSelectionTest::setUp in core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php
BlockViewBuilder::lazyBuilder in core/modules/block/src/BlockViewBuilder.php
#lazy_builder callback; builds a #pre_render-able block.
BlockVisibility::create in core/modules/block/src/Plugin/migrate/process/BlockVisibility.php
Creates an instance of the plugin.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Extension\ModuleHandler
  2. arguments:
  3. - '%app.root%'
  4. - '%container.modules%'
  5. - '@cache.bootstrap'
  6. tags:
  7. - { name: needs_destruction }