50 calls to Drupal::moduleHandler()

CategorizingPluginManagerTrait::getModuleHandler in core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php
Returns the module handler used.
ckeditor5_library_info_alter in core/modules/ckeditor5/ckeditor5.module
Implements hook_library_info_alter().
ContextualLinks::moduleHandler in core/modules/contextual/src/Element/ContextualLinks.php
Wraps the module handler.
DrupalTest::testModuleHandler in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the moduleHandler() method.
drupal_flush_all_caches in core/includes/common.inc
Rebuilds the container, flushes all persistent caches, resets all variables, and rebuilds all data structures.
EntityHandlerBase::moduleHandler in core/lib/Drupal/Core/Entity/EntityHandlerBase.php
Gets the module handler.
EntityResource::getCollectionQuery in core/modules/jsonapi/src/Controller/EntityResource.php
Gets a basic query for a collection.
entity_test.install in core/modules/system/tests/modules/entity_test/entity_test.install
Install, update and uninstall functions for the entity_test module.
FieldStorageConfig::preSaveUpdated in core/modules/field/src/Entity/FieldStorageConfig.php
Prepares saving an updated field definition.
FormController::__construct in core/modules/system/tests/modules/condition_test/src/FormController.php
Constructs a \Drupal\condition_test\FormController object.
HandlerBase::getModuleHandler in core/modules/views/src/Plugin/views/HandlerBase.php
Gets the module handler.
help_topics_help in core/modules/help_topics/help_topics.module
Implements hook_help().
ImageStyle::flush in core/modules/image/src/Entity/ImageStyle.php
Flushes cached media for this style.
install_begin_request in core/includes/install.core.inc
Begins an installation request, modifying the installation state as needed.
install_import_translations in core/includes/install.core.inc
Imports languages via a batch process during installation.
jsonapi_install in core/modules/jsonapi/jsonapi.install
Implements hook_install().
jsonapi_requirements in core/modules/jsonapi/jsonapi.install
Implements hook_requirements().
LocaleUpdateTest::setUp in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
locale_system_remove in core/modules/locale/locale.module
Delete translation history of modules and themes.
locale_system_update in core/modules/locale/locale.module
Imports translations when new modules or themes are installed.
MigrateDrupalTestBase::setUp in core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php
ModuleImplementsAlterTest::testModuleImplementsAlter in core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php
Tests hook_module_implements_alter() adding an implementation.
ModuleTestBase::assertModuleTablesDoNotExist in core/modules/system/tests/src/Functional/Module/ModuleTestBase.php
Assert that none of the tables defined in a module's hook_schema() exist.
ModuleTestBase::assertModuleTablesExist in core/modules/system/tests/src/Functional/Module/ModuleTestBase.php
Assert that all tables defined in a module's hook_schema() exist.
module_set_weight in core/includes/module.inc
Sets weight of a particular module.
OptionsWidgetBase::getOptions in core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php
Returns the array of options for the widget.
PluginDependencyTrait::moduleHandler in core/lib/Drupal/Core/Plugin/PluginDependencyTrait.php
Wraps the module handler.
quickedit_library_info_alter in core/modules/quickedit/quickedit.module
Implements hook_library_info_alter().
RegistryLegacyTest::testMultipleSubThemes in core/tests/Drupal/KernelTests/Core/Theme/RegistryLegacyTest.php
Tests the theme registry with theme functions and multiple subthemes.
RegistryLegacyTest::testRegistryConstructorParameters in core/tests/Drupal/KernelTests/Core/Theme/RegistryLegacyTest.php
Tests the order of registry parameters.
RegistryLegacyTest::testSuggestionPreprocessFunctions in core/tests/Drupal/KernelTests/Core/Theme/RegistryLegacyTest.php
Tests the theme registry with theme functions with suggestions.
RegistryTest::testMultipleSubThemes in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the theme registry with multiple subthemes.
RegistryTest::testSuggestionPreprocessFunctions in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the theme registry with suggestions.
RegistryTest::testThemeRegistryAlterByTheme in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests that the theme registry can be altered by themes.
RegistryTest::testThemeTemplatesRegisteredByModules in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests theme-provided templates that are registered by modules.
SourcePluginBase::getModuleHandler in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
Gets the module handler.
Stable9TemplateOverrideTest::testStable9TemplateOverrides in core/tests/Drupal/KernelTests/Core/Theme/Stable9TemplateOverrideTest.php
Ensures that Stable 9 overrides all relevant core templates.
StableTemplateOverrideTest::testStableTemplateOverrides in core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php
Ensures that Stable overrides all relevant core templates.
system_requirements in core/modules/system/system.install
Implements hook_requirements().
TestController::showModuleInfo in core/modules/system/tests/modules/container_rebuild_test/src/TestController.php
Displays the path to a module.
Toolbar::moduleHandler in core/modules/toolbar/src/Element/Toolbar.php
Wraps the module handler.
ViewExecutable::build in core/modules/views/src/ViewExecutable.php
Builds the query for the view.
ViewExecutable::execute in core/modules/views/src/ViewExecutable.php
Executes the view's query.
ViewExecutable::render in core/modules/views/src/ViewExecutable.php
Renders this view for a certain display.
views_invalidate_cache in core/modules/views/views.module
Invalidate the views cache, forcing a rebuild on the next grab of table data.
views_theme in core/modules/views/views.module
Implements hook_theme().
views_views_data in core/modules/views/views.views.inc
Implements hook_views_data().
ViewTestData::createTestViews in core/modules/views/src/Tests/ViewTestData.php
Create test views from config.
_install_prepare_import in core/includes/install.core.inc
Tells the translation import process that Drupal core is installed.
_update_fix_missing_schema in core/includes/update.inc
Helper to detect and fix 'missing' schema information.

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