Commit 507ce042 authored by Dries's avatar Dries
Browse files

- Patch #691468 by aaronbauman, gpk: improve PHPdoc of bootstrap_invoke_all().

parent 0df5b37a
...@@ -902,10 +902,12 @@ function drupal_page_is_cacheable($allow_caching = NULL) { ...@@ -902,10 +902,12 @@ function drupal_page_is_cacheable($allow_caching = NULL) {
* *
* @param $hook * @param $hook
* The name of the bootstrap hook to invoke. * The name of the bootstrap hook to invoke.
*
* @see bootstrap_hooks()
*/ */
function bootstrap_invoke_all($hook) { function bootstrap_invoke_all($hook) {
// _drupal_bootstrap_page_cache() already loaded the bootstrap modules, so we // Bootstrap modules should have been loaded when this function is called, so
// don't need to tell module_list() to reset its bootstrap list. // we don't need to tell module_list() to reset its bootstrap list.
foreach (module_list(FALSE, TRUE) as $module) { foreach (module_list(FALSE, TRUE) as $module) {
drupal_load('module', $module); drupal_load('module', $module);
module_invoke($module, $hook); module_invoke($module, $hook);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment