Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
ModuleHandler::getModuleList function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns the list of currently active modules.
ModuleHandler::implementsHook function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns whether a given module implements a given hook.
ModuleHandler::isLoaded function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns whether all modules have been loaded.
ModuleHandler::loadAllIncludes function core/lib/Drupal/Core/Extension/ModuleHandler.php Loads an include file for each enabled module.
ModuleHandler::moduleExists function core/lib/Drupal/Core/Extension/ModuleHandler.php Determines whether a given module is enabled.
ModuleHandler::parseDependency function core/lib/Drupal/Core/Extension/ModuleHandler.php Parses a dependency for comparison by drupal_check_incompatibility().
ModuleHandler::resetImplementations function core/lib/Drupal/Core/Extension/ModuleHandler.php Resets the cached list of hook implementations.
ModuleHandler::setModuleList function core/lib/Drupal/Core/Extension/ModuleHandler.php Sets an explicit list of currently active modules.
ModuleHandler::verifyImplementations function core/lib/Drupal/Core/Extension/ModuleHandler.php Verifies an array of implementations loaded from the cache, by including
the lazy-loaded $module.$group.inc, and checking function_exists().
ModuleHandler::__construct function core/lib/Drupal/Core/Extension/ModuleHandler.php Constructs a ModuleHandler object.
ModuleHandlerDeprecatedHookTest class core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php Test whether deprecated hook invocations trigger errors.
ModuleHandlerDeprecatedHookTest.php file core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php
ModuleHandlerDeprecatedHookTest::$modules property core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php Modules to enable.
ModuleHandlerDeprecatedHookTest::testAlterDeprecated function core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php @covers ::alterDeprecated[[api-linebreak]]
@expectedDeprecation The deprecated alter hook hook_deprecated_alter_alter() is implemented in these functions: deprecation_test_deprecated_alter_alter. Alter something else.
ModuleHandlerDeprecatedHookTest::testInvokeAllDeprecated function core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php @covers ::invokeAllDeprecated[[api-linebreak]]
@expectedDeprecation The deprecated hook hook_deprecated_hook() is implemented in these functions: deprecation_test_deprecated_hook(). Use something else.
ModuleHandlerDeprecatedHookTest::testInvokeDeprecated function core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php @covers ::invokeDeprecated[[api-linebreak]]
@expectedDeprecation The deprecated hook hook_deprecated_hook() is implemented in these functions: deprecation_test_deprecated_hook(). Use something else.
ModuleHandlerDeprecatedHookUnimplementedTest class core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookUnimplementedTest.php Test whether unimplemented deprecated hook invocations trigger errors.
ModuleHandlerDeprecatedHookUnimplementedTest.php file core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookUnimplementedTest.php
ModuleHandlerDeprecatedHookUnimplementedTest::testUnimplementedHooks function core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookUnimplementedTest.php @covers ::alterDeprecated[[api-linebreak]]
@covers ::invokeAllDeprecated[[api-linebreak]]
@covers ::invokeDeprecated[[api-linebreak]]
@doesNotPerformAssertions
ModuleHandlerInterface::buildModuleDependencies function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Determines which modules require and are required by each module.
ModuleHandlerInterface::getImplementations function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Determines which modules are implementing a hook.
ModuleHandlerInterface::getModuleDirectories function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns an array of directories for all enabled modules. Useful for
tasks such as finding a file that exists in all module directories.
ModuleHandlerInterface::getModuleList function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns the list of currently active modules.
ModuleHandlerInterface::implementsHook function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns whether a given module implements a given hook.
ModuleHandlerInterface::isLoaded function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns whether all modules have been loaded.
ModuleHandlerInterface::loadAllIncludes function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Loads an include file for each enabled module.
ModuleHandlerInterface::moduleExists function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Determines whether a given module is enabled.
ModuleHandlerInterface::resetImplementations function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Resets the cached list of hook implementations.
ModuleHandlerInterface::setModuleList function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Sets an explicit list of currently active modules.
ModuleHandlerTest class core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php Tests ModuleHandler functionality.
ModuleHandlerTest class core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerTest.php @coversDefaultClass \Drupal\Core\Extension\ModuleHandler[[api-linebreak]]
ModuleHandlerTest class core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @coversDefaultClass \Drupal\Core\Extension\ModuleHandler[[api-linebreak]]
@runTestsInSeparateProcesses
ModuleHandlerTest.php file core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php
ModuleHandlerTest.php file core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerTest.php
ModuleHandlerTest.php file core/modules/system/tests/src/Kernel/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 Test adding a module.
ModuleHandlerTest::testAddProfile function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Test adding a profile.
ModuleHandlerTest::testCachedGetImplementations function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Test getImplementations.
ModuleHandlerTest::testCachedGetImplementationsMissingMethod function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Test 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 Test hook_hook_info() fetching through getHookInfo().
ModuleHandlerTest::testGetImplementations function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Test getImplementations.
ModuleHandlerTest::testGetModuleDirectories function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @covers ::getModuleDirectories[[api-linebreak]]

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