You are here

function block_access_can_view in Block Access 6

Same name and namespace in other branches
  1. 6.2 block_access.module \block_access_can_view()
  2. 7 block_access.module \block_access_can_view()
1 call to block_access_can_view()
block_access_check_perms in ./block_access.module

File

./block_access.module, line 154

Code

function block_access_can_view($module, $delta) {
  return user_access(t(BLOCK_ACCESS_ALL_VIEW)) || block_access_user_access($module, $delta, 'view');
}