function block_access_can_view in Block Access 7
Same name and namespace in other branches
- 6.2 block_access.module \block_access_can_view()
- 6 block_access.module \block_access_can_view()
1 call to block_access_can_view()
File
- ./
block_access.module, line 200
Code
function block_access_can_view($module, $delta) {
return user_access(BLOCK_ACCESS_ALL_VIEW) || block_access_user_access($module, $delta, 'view');
}