You are here

function getlocations_permission in Get Locations 7

Same name and namespace in other branches
  1. 7.2 getlocations.module \getlocations_permission()

Implements hook_permission().

File

./getlocations.module, line 47
getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_permission() {
  $perms = array();
  $perms['access getlocations'] = array(
    'title' => t('Access Getlocations'),
    'description' => t('View and use the Getlocations module.'),
  );
  $perms['access user getlocations'] = array(
    'title' => t('Access User locations'),
    'description' => t('View User locations with Getlocation maps.'),
  );
  return $perms;
}