function block_perm in Block Cache Alter 6
Same name in this branch
- 6 patches/block_with_node_grants.module \block_perm()
- 6 patches/block_no_node_grants.module \block_perm()
Implementation of hook_perm().
File
- patches/
block_no_node_grants.module, line 111 - Controls the boxes that are displayed around the main content.
Code
function block_perm() {
return array(
'administer blocks',
'use PHP for block visibility',
);
}