function search_permission

Implements hook_permission().

File

modules/search/search.module, line 124

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.