You are here

function custom_search_blocks_permission in Custom Search 7

Implements hook_perm().

File

modules/custom_search_blocks/custom_search_blocks.module, line 29
Bring additional search blocks

Code

function custom_search_blocks_permission() {
  return array(
    'administer custom search blocks' => array(
      'title' => t('Administer custom search blocks'),
      'description' => t('Allow users to administer custom search blocks settings'),
    ),
    'use custom search blocks' => array(
      'title' => t('Use custom search blocks'),
      'description' => t('Allow users to use custom search blocks'),
    ),
  );
}