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
ModuleHandler::$cacheBackend property core/lib/Drupal/Core/Extension/ModuleHandler.php Cache backend for storing module hook implementation information.
ModuleHandler::$cacheNeedsWriting property core/lib/Drupal/Core/Extension/ModuleHandler.php Whether the cache needs to be written.
ModuleHandler::$hookInfo property core/lib/Drupal/Core/Extension/ModuleHandler.php Information returned by hook_hook_info() implementations.
ModuleHandler::$implementations property core/lib/Drupal/Core/Extension/ModuleHandler.php List of hook implementations keyed by hook name.
ModuleHandler::$includeFileKeys property core/lib/Drupal/Core/Extension/ModuleHandler.php A list of module include file keys.
ModuleHandler::$loaded property core/lib/Drupal/Core/Extension/ModuleHandler.php Boolean indicating whether modules have been loaded.
ModuleHandler::$loadedFiles property core/lib/Drupal/Core/Extension/ModuleHandler.php List of loaded files.
ModuleHandler::$moduleList property core/lib/Drupal/Core/Extension/ModuleHandler.php List of installed modules.
ModuleHandler::$root property core/lib/Drupal/Core/Extension/ModuleHandler.php The app root.
ModuleHandler::$verified property core/lib/Drupal/Core/Extension/ModuleHandler.php List of hooks where the implementations have been "verified".
ModuleHandler::add function core/lib/Drupal/Core/Extension/ModuleHandler.php Adds a module or profile to the list of currently active modules.
ModuleHandler::addModule function core/lib/Drupal/Core/Extension/ModuleHandler.php Adds a module to the list of currently active modules.
ModuleHandler::addProfile function core/lib/Drupal/Core/Extension/ModuleHandler.php Adds an installation profile to the list of currently active modules.
ModuleHandler::alter function core/lib/Drupal/Core/Extension/ModuleHandler.php Passes alterable variables to specific hook_TYPE_alter() implementations.
ModuleHandler::alterDeprecated function core/lib/Drupal/Core/Extension/ModuleHandler.php Passes alterable variables to deprecated hook_TYPE_alter() implementations.
ModuleHandler::buildHookInfo function core/lib/Drupal/Core/Extension/ModuleHandler.php Builds hook_hook_info() information.
ModuleHandler::buildImplementationInfo function core/lib/Drupal/Core/Extension/ModuleHandler.php Builds hook implementation information for a given hook name.
ModuleHandler::buildModuleDependencies function core/lib/Drupal/Core/Extension/ModuleHandler.php Determines which modules require and are required by each module.
ModuleHandler::getHookInfo function core/lib/Drupal/Core/Extension/ModuleHandler.php Retrieves a list of hooks that are declared through hook_hook_info().
ModuleHandler::getImplementationInfo function core/lib/Drupal/Core/Extension/ModuleHandler.php Provides information about modules' implementations of a hook.
ModuleHandler::getImplementations function core/lib/Drupal/Core/Extension/ModuleHandler.php Determines which modules are implementing a hook.
ModuleHandler::getModule function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns a module extension object from the currently active modules list.
ModuleHandler::getModuleDirectories function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns an array of directories for all enabled modules. Useful for
tasks such as finding a file that exists in all module directories.
ModuleHandler::getModuleList function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns the list of currently active modules.
ModuleHandler::getName function core/lib/Drupal/Core/Extension/ModuleHandler.php Gets the human readable name of a given module.
ModuleHandler::implementsHook function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns whether a given module implements a given hook.
ModuleHandler::invoke function core/lib/Drupal/Core/Extension/ModuleHandler.php Invokes a hook in a particular module.
ModuleHandler::invokeAll function core/lib/Drupal/Core/Extension/ModuleHandler.php Invokes a hook in all enabled modules that implement it.
ModuleHandler::invokeAllDeprecated function core/lib/Drupal/Core/Extension/ModuleHandler.php Invokes a deprecated hook in all enabled modules that implement it.
ModuleHandler::invokeDeprecated function core/lib/Drupal/Core/Extension/ModuleHandler.php Invokes a deprecated hook in a particular module.
ModuleHandler::isLoaded function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns whether all modules have been loaded.
ModuleHandler::load function core/lib/Drupal/Core/Extension/ModuleHandler.php Includes a module's .module file.
ModuleHandler::loadAll function core/lib/Drupal/Core/Extension/ModuleHandler.php Loads all enabled modules.
ModuleHandler::loadAllIncludes function core/lib/Drupal/Core/Extension/ModuleHandler.php Loads an include file for each enabled module.
ModuleHandler::loadInclude function core/lib/Drupal/Core/Extension/ModuleHandler.php Loads a module include file.
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::reload function core/lib/Drupal/Core/Extension/ModuleHandler.php Reloads all enabled modules.
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::triggerDeprecationError function core/lib/Drupal/Core/Extension/ModuleHandler.php Triggers an E_USER_DEPRECATED error if any module implements the hook.
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::writeCache function core/lib/Drupal/Core/Extension/ModuleHandler.php Write the hook implementation info to the cache.
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.

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