module_handler

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

Class

Drupal\Core\Extension\ModuleHandler
141 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
Render API callback: Builds a block that can be pre-rendered.
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

View source
  1. class: Drupal\Core\Extension\ModuleHandler
  2. arguments:
  3. - '%app.root%'
  4. - '%container.modules%'
  5. - '@event_dispatcher'
  6. - '%hook_implementations_map%'

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