module.inc

Version 1.174 (checked in on 2009/11/20 at 06:12:45 by webchick)

API for loading and interacting with Drupal modules.

Functions

NameDescription
drupal_required_modulesArray of modules required by core.
module_disableDisable a given set of modules.
module_enableEnable 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_listCollect a list of all loaded modules. During the bootstrap, return only vital modules. See bootstrap.inc
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.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.