You are here

function block_access_can_disable in Block Access 7

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

File

./block_access.module, line 215

Code

function block_access_can_disable($module, $delta) {
  return user_access(BLOCK_ACCESS_ALL_DISABLE) || block_access_user_access($module, $delta, 'disable');
}