function block_access_can_enable in Block Access 6
Same name and namespace in other branches
- 6.2 block_access.module \block_access_can_enable()
- 7 block_access.module \block_access_can_enable()
2 calls to block_access_can_enable()
File
- ./
block_access.module, line 164
Code
function block_access_can_enable($module, $delta) {
return user_access(t(BLOCK_ACCESS_ALL_ENABLE)) || block_access_user_access($module, $delta, 'enable');
}