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) {
*
* @param $hook
* The name of the bootstrap hook to invoke.
*
* @see bootstrap_hooks()
*/
function bootstrap_invoke_all($hook) {
// _drupal_bootstrap_page_cache() already loaded the bootstrap modules, so we
// don't need to tell module_list() to reset its bootstrap list.
// Bootstrap modules should have been loaded when this function is called, so
// we don't need to tell module_list() to reset its bootstrap list.
foreach (module_list(FALSE, TRUE) as $module) {
drupal_load('module', $module);
module_invoke($module, $hook);
......
Markdown is supported
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