You are here

function search_api_saved_searches_permission in Search API Saved Searches 7

Implements hook_permission();

File

./search_api_saved_searches.module, line 112
Offers the ability to save searches and be notified of new results.

Code

function search_api_saved_searches_permission() {
  $perms['administer search_api_saved_searches'] = array(
    'title' => t('Administer saved searches'),
    'description' => t('Enable and configure saved searches for search indexes.'),
  );
  $perms['use search_api_saved_searches'] = array(
    'title' => t('Use saved searches'),
    'description' => t('Save searches and receive e-mail notifications.'),
  );
  return $perms;
}