From fffeb72bfd2802e8b5d4f0b514870d4b7fb23a29 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Tue, 8 May 2012 11:21:03 -0700 Subject: Issue #1513580 by matt2000: Update hook_init and hook_boot docs to say whether themes are loaded when they run --- modules/system/system.api.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/system/system.api.php') diff --git a/modules/system/system.api.php b/modules/system/system.api.php index e28386997..c551e229b 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -1797,8 +1797,8 @@ function hook_forms($form_id, $args) { * used to set up global parameters that are needed later in the request. * * Only use this hook if your code must run even for cached page views. This - * hook is called before modules or most include files are loaded into memory. - * It happens while Drupal is still in bootstrap mode. + * hook is called before the theme, modules, or most include files are loaded + * into memory. It happens while Drupal is still in bootstrap mode. * * @see hook_init() */ @@ -1813,7 +1813,8 @@ function hook_boot() { * * This hook is run at the beginning of the page request. It is typically * used to set up global parameters that are needed later in the request. - * When this hook is called, all modules are already loaded in memory. + * When this hook is called, the theme and all modules are already loaded in + * memory. * * This hook is not run on cached pages. * -- cgit v1.2.3