module_handler

Same name in other branches
  1. 9 core/core.services.yml \module_handler
  2. 10 core/core.services.yml \module_handler

Class

Drupal\Core\Extension\ModuleHandler
102 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

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

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