Search for all

  1. Search 7.x for all
  2. Search 9.5.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
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 interface core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Interface for classes that manage a set of enabled modules.
ModuleHandlerInterface.php file core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php
ModuleHandlerInterface::addModule function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Adds a module to the list of currently active modules.
ModuleHandlerInterface::addProfile function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Adds an installation profile to the list of currently active modules.
ModuleHandlerInterface::alter function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Passes alterable variables to specific hook_TYPE_alter() implementations.
ModuleHandlerInterface::alterDeprecated function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Passes alterable variables to deprecated hook_TYPE_alter() implementations.
ModuleHandlerInterface::buildModuleDependencies function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Determines which modules require and are required by each module.
ModuleHandlerInterface::getHookInfo function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Retrieves a list of hooks that are declared through hook_hook_info().
ModuleHandlerInterface::getImplementations function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Determines which modules are implementing a hook.
ModuleHandlerInterface::getModule function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns a module extension object from the currently active modules list.
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::getName function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Gets the human readable name of a given module.
ModuleHandlerInterface::implementsHook function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns whether a given module implements a given hook.
ModuleHandlerInterface::invoke function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Invokes a hook in a particular module.
ModuleHandlerInterface::invokeAll function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Invokes a hook in all enabled modules that implement it.
ModuleHandlerInterface::invokeAllDeprecated function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Invokes a deprecated hook in all enabled modules that implement it.
ModuleHandlerInterface::invokeDeprecated function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Invokes a deprecated hook in a particular module.
ModuleHandlerInterface::isLoaded function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns whether all modules have been loaded.
ModuleHandlerInterface::load function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Includes a module's .module file.
ModuleHandlerInterface::loadAll function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Loads all enabled modules.
ModuleHandlerInterface::loadAllIncludes function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Loads an include file for each enabled module.
ModuleHandlerInterface::loadInclude function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Loads a module include file.
ModuleHandlerInterface::moduleExists function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Determines whether a given module is enabled.
ModuleHandlerInterface::reload function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Reloads all enabled modules.
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.
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 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().

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