search_permission

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 search_permission()

Implements hook_permission().

Code

modules/search/search.module, line 124

<?php
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'),
    ),
  );
}
?>