Skip navigation
Help

search_permission

7 search.module search_permission()

Implements hook_permission().

File

drupal/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'),
    ),
  );
}