You are here

function hook_icon_permission in Icon API 8

Same name and namespace in other branches
  1. 7 icon.api.php \hook_icon_permission()

Allow extensions to be grouped with Icon API on the permissions table.

Return value

array Same type of array in hook_permission().

See also

icon_permission()

icon_block_icon_permission()

hook_permission()

2 functions implement hook_icon_permission()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

icon_block_icon_permission in modules/icon_block/icon_block.module
Implements hook_icon_permission().
icon_menu_icon_permission in modules/icon_menu/icon_menu.module
Implements hook_icon_permission().

File

./icon.api.php, line 208
icon.api.php Hooks and form elements provided by the Icon API module.

Code

function hook_icon_permission() {
  return array(
    'administer block icons' => array(
      'title' => t('Administer block icons'),
      'description' => t('Grants selected roles the ability to administer icons in blocks.'),
    ),
  );
}