module_handler

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

Class

Drupal\Core\Extension\ModuleHandler

Tags

  • needs_destruction
118 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

... 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'
  6. tags:
  7. - { name: needs_destruction }

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