module.inc

Version 1.115.2.2 (checked in on 2009/10/06 at 11:56:59 by goba)

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_implementsDetermine which modules are implementing a hook.
module_invokeInvoke a hook in a particular module.
module_invoke_allInvoke a hook in all enabled modules that implement it.
module_iterateCall a function repeatedly with each module in turn as an argument.
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.
module_rebuild_cacheRebuild the database cache of module files.
_module_build_dependenciesFind dependencies any level deep and fill in dependents 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.