Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
ModuleHandlerInterface::writeCache function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Write the hook implementation info to the cache.
ModuleHandlerTest class core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @coversDefaultClass \Drupal\Core\Extension\ModuleHandler[[api-linebreak]]
@runTestsInSeparateProcesses
ModuleHandlerTest class core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerTest.php @coversDefaultClass \Drupal\Core\Extension\ModuleHandler[[api-linebreak]]
ModuleHandlerTest class core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests ModuleHandler functionality.
ModuleHandlerTest.php file core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
ModuleHandlerTest.php file core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerTest.php
ModuleHandlerTest.php file core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php
ModuleHandlerTest::$cacheBackend property core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php The mocked cache backend.
ModuleHandlerTest::$modules property core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Modules to enable.
ModuleHandlerTest::assertModuleList function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Assert that the extension handler returns the expected values.
ModuleHandlerTest::getModuleHandler function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Get a module handler object to test.
ModuleHandlerTest::moduleHandler function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Returns the ModuleHandler.
ModuleHandlerTest::moduleInstaller function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Returns the ModuleInstaller.
ModuleHandlerTest::setUp function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @covers ::__construct[[api-linebreak]]
ModuleHandlerTest::testAddModule function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests adding a module.
ModuleHandlerTest::testAddProfile function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests adding a profile.
ModuleHandlerTest::testCachedGetImplementations function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests getImplementations.
ModuleHandlerTest::testCachedGetImplementationsMissingMethod function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests getImplementations.
ModuleHandlerTest::testDependencyResolution function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests dependency resolution.
ModuleHandlerTest::testGetHookInfo function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests hook_hook_info() fetching through getHookInfo().
ModuleHandlerTest::testGetImplementations function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests deprecation of the ::getImplementations method.
ModuleHandlerTest::testGetModuleDirectories function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @covers ::getModuleDirectories[[api-linebreak]]
ModuleHandlerTest::testGetModuleList function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Confirm we get back the modules set in the constructor.
ModuleHandlerTest::testGetModuleWithExistingModule function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Confirm we get back a module from the module list.
ModuleHandlerTest::testGetModuleWithNonExistingModule function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @covers ::getModule[[api-linebreak]]
ModuleHandlerTest::testHasImplementations function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests hasImplementations.
ModuleHandlerTest::testImplementsHook function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests deprecation of the ::implementsHook method.
ModuleHandlerTest::testImplementsHookModuleEnabled function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests implementations methods when module is enabled.
ModuleHandlerTest::testInvalidGetName function core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerTest.php Tests requesting the name of an invalid module.
ModuleHandlerTest::testInvokeAll function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests invoke all.
ModuleHandlerTest::testInvokeModuleEnabled function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests invoke methods when module is enabled.
ModuleHandlerTest::testIsLoaded function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests isLoaded accessor.
ModuleHandlerTest::testLoadAllIncludes function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @covers ::loadAllIncludes[[api-linebreak]]
ModuleHandlerTest::testLoadAllModules function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests loading all modules.
ModuleHandlerTest::testLoadInclude function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @covers ::loadInclude[[api-linebreak]]
ModuleHandlerTest::testLoadModule function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests loading a module.
ModuleHandlerTest::testModuleExists function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests module exists returns correct module status.
ModuleHandlerTest::testModuleList function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php The basic functionality of retrieving enabled modules.
ModuleHandlerTest::testModuleMetaData function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests whether the correct module metadata is returned.
ModuleHandlerTest::testModuleReloading function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests reload method.
ModuleHandlerTest::testModuleStreamWrappers function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests whether module-provided stream wrappers are registered properly.
ModuleHandlerTest::testProfileAllDependencies function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests that a profile can supply only real dependencies.
ModuleHandlerTest::testResetImplementations function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests internal implementation cache reset.
ModuleHandlerTest::testSetModuleList function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Ensure setting the module list replaces the module list and resets internal structures.
ModuleHandlerTest::testThemeMetaData function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests whether the correct theme metadata is returned.
ModuleHandlerTest::testUninstallContentDependency function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests uninstalling a module that has content.
ModuleHandlerTest::testUninstallProfileDependency function core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests uninstalling a module installed by a profile.
ModuleHandlerTest::testWriteCache function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Tests that write cache calls through to cache library correctly.
ModuleImplementsAlterTest class core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php Tests hook_module_implements_alter().
ModuleImplementsAlterTest.php file core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php

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