function block_access_perm in Block Access 6
Same name and namespace in other branches
- 6.2 block_access.module \block_access_perm()
File
- ./
block_access.module, line 104
Code
function block_access_perm() {
// All the "All blocks" level permissions
$access = array(
t(BLOCK_ACCESS_ADMIN),
t(BLOCK_ACCESS_CREATE),
t(BLOCK_ACCESS_ALL_VIEW),
t(BLOCK_ACCESS_ALL_MOVE),
t(BLOCK_ACCESS_ALL_ENABLE),
t(BLOCK_ACCESS_ALL_DISABLE),
t(BLOCK_ACCESS_ALL_CONFIG),
t(BLOCK_ACCESS_ALL_DELETE),
t(BLOCK_ACCESS_ALL_CONFIG_LANG),
t(BLOCK_ACCESS_ALL_CONFIG_SPEC),
t(BLOCK_ACCESS_ALL_CONFIG_USER),
t(BLOCK_ACCESS_ALL_CONFIG_ROLE),
t(BLOCK_ACCESS_ALL_CONFIG_PAGE),
);
return $access;
}