You are here

function block_access_can_delete in Block Access 7

Same name and namespace in other branches
  1. 6.2 block_access.module \block_access_can_delete()
  2. 6 block_access.module \block_access_can_delete()
3 calls to block_access_can_delete()
block_access_check_delete in ./block_access.module
block_access_check_perms in ./block_access.module
block_access_check_submit in ./block_access.module

File

./block_access.module, line 205

Code

function block_access_can_delete($module, $delta) {
  return user_access(BLOCK_ACCESS_ALL_DELETE) || block_access_user_access($module, $delta, 'delete');
}