module.inc

API for loading and interacting with Drupal modules.

File

includes/module.inc

Functions

Name Description
drupal_alter Passes alterable variables to specific hook_TYPE_alter() implementations.
drupal_required_modules Returns an array of modules required by core.
module_disable Disables a given set of modules.
module_enable Enables or installs a given list of modules.
module_exists Determines whether a given module exists.
module_hook Determines whether a module implements a hook.
module_hook_info Retrieves a list of hooks that are declared through hook_hook_info().
module_implements Determines which modules are implementing a hook.
module_implements_write_cache Writes the hook implementation cache.
module_invoke Invokes a hook in a particular module.
module_invoke_all Invokes a hook in all enabled modules that implement it.
module_list Returns a list of currently active modules.
module_load_all Loads all the modules that have been enabled in the system table.
module_load_all_includes Loads an include file for each module enabled in the {system} table.
module_load_include Loads a module include file.
module_load_install Loads a module's installation hooks.
system_list Builds a list of bootstrap modules and enabled modules and themes.
system_list_reset Resets all system_list() caches.
_module_build_dependencies Determines which modules require and are required by each module.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!module.inc/7.x