You are here

function search_permission in Drupal 7

Implements hook_permission().

File

modules/search/search.module, line 124
Enables site-wide keyword searching.

Code

function search_permission() {
  return array(
    'administer search' => array(
      'title' => t('Administer search'),
    ),
    'search content' => array(
      'title' => t('Use search'),
    ),
    'use advanced search' => array(
      'title' => t('Use advanced search'),
    ),
  );
}