You are here

function google_appliance_permission in Google Search Appliance 7

Implements hook_permission().

File

./google_appliance.module, line 50
Google Appliance module enables searching via a dedicated Google Search Appliance hardware device. See README.txt and the help page at admin/help/google_appliance.

Code

function google_appliance_permission() {
  $perms = array();
  $perms['administer_google_appliance'] = array(
    'title' => t('Administer Google Appliance settings'),
  );
  $perms['access_google_appliance_content'] = array(
    'title' => t('Use Google Appliance searches'),
  );
  return $perms;
}