module.inc

  1. drupal
    1. drupal6
    2. drupal7

Version 1.142 (checked in on 2009/05/24 at 17:39:30 by dries)

API for loading and interacting with Drupal modules.

Funktionen & Methoden

NameBeschreibung
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_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 required by information too.
_module_implements_maintenanceThis is the maintenance version of module_implements for internal use only.

Konstanten

NameBeschreibung
MODULE_IMPLEMENTS_CLEAR_CACHEPass this to module_implements when its cache needs to be cleared.
MODULE_IMPLEMENTS_WRITE_CACHEPass this to module_implements when its cache needs to be written.

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen