You are here

function block_access_can_enable in Block Access 6.2

Same name and namespace in other branches
  1. 6 block_access.module \block_access_can_enable()
  2. 7 block_access.module \block_access_can_enable()
2 calls to block_access_can_enable()
block_access_check_perms in ./block_access.module
block_access_check_submit in ./block_access.module

File

./block_access.module, line 164

Code

function block_access_can_enable($module, $delta) {
  return user_access(BLOCK_ACCESS_ALL_ENABLE) || block_access_user_access($module, $delta, 'enable');
}