Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
507ce042
Commit
507ce042
authored
Jun 29, 2010
by
Dries
Browse files
- Patch
#691468
by aaronbauman, gpk: improve PHPdoc of bootstrap_invoke_all().
parent
0df5b37a
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
507ce042
...
...
@@ -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
t
he
bootstrap modu
le
s
, so
we
// don't need to tell module_list() to reset its bootstrap list.
//
Bootstrap modules should have been
loaded
w
he
n this function is cal
le
d
, 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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment