module.inc

Version 1.211 (checked in on 2011/02/24 at 12:09:59 by dries)

API for loading and interacting with Drupal modules.

Functions & methods

NameDescription
drupal_alterHands off alterable variables to type-specific *_alter implementations.
drupal_required_modulesArray of modules required by core.
module_disableDisable a given set of modules.
module_enableEnables or installs a given list of modules.
module_existsDetermine whether a given module exists.
module_hookDetermine whether a module implements a hook.
module_hook_infoRetrieve a list of what hooks are explicitly declared.
module_implementsDetermine which modules are implementing a hook.
module_implements_write_cacheWrites the hook implementation cache.
module_invokeInvoke a hook in a particular module.
module_invoke_allInvoke a hook in all enabled modules that implement it.
module_listReturns a list of currently active modules.
module_load_allLoad all the modules that have been enabled in the system table.
module_load_all_includesLoad an include file for each of the modules that have been enabled in the system table.
module_load_includeLoad a module include file.
module_load_installLoad a module's installation hooks.
system_listBuild a list of bootstrap modules and enabled modules and themes.
system_list_resetReset all system_list() caches.
_module_build_dependenciesFind dependencies any level deep and fill in required by information too.