On this page
function block_permission
block_permission()
Implements hook_permission().
File
- modules/block/block.module, line 95
- Controls the visual building blocks a page is constructed with.
Code
function block_permission() {
return array(
'administer blocks' => array(
'title' => t('Administer blocks'),
),
);
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!block!block.module/function/block_permission/7.x