Same name and namespace in other branches
  1. 4.6.x modules/block.module \block_perm()
  2. 4.7.x modules/block.module \block_perm()
  3. 6.x modules/block/block.module \block_perm()

Implementation of hook_perm().

File

modules/block/block.module, line 53
Controls the boxes that are displayed around the main content.

Code

function block_perm() {
  return array(
    'administer blocks',
    'use PHP for block visibility',
  );
}