You are here

function block_perm in Block Cache Alter 6

Same name in this branch
  1. 6 patches/block_with_node_grants.module \block_perm()
  2. 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',
  );
}