DrupalBin
Submit Code
About
Recent Posts
float?
1 hour 41 min
ago
views handler
5 hours 12 min
ago
Code
5 hours 27 min
ago
Code
5 hours 29 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
menu access hook
View
Download
Fix
November 2, 2007 - 12:30pm — Anonymous
function
menu_access_invoke_all
(
)
{
$args
=
func_get_args
(
)
;
$hook
=
$args
[
0
]
;
unset
(
$args
[
0
]
)
;
$return
=
TRUE
;
foreach
(
module_implements
(
$hook
)
as
$module
)
{
$function
=
$module
.
'_'
.
$hook
;
$result
=
call_user_func_array
(
$function
,
$args
)
;
if
(
isset
(
$result
)
)
{
$return
&=
$result
;
}
}
return
$return
;
}
drupal6
menu