You are here

service module_handler in Drupal 10

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

Class

Drupal\Core\Extension\ModuleHandler
146 string references to module_handler
AccountSettingsForm::create in core/modules/user/src/AccountSettingsForm.php
Instantiates a new instance of this class.
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'