You are here

function drupalgap_permission in DrupalGap 7

Same name and namespace in other branches
  1. 8.2 drupalgap.module \drupalgap_permission()
  2. 7.2 drupalgap.module \drupalgap_permission()

Implements hook_permission().

File

./drupalgap.module, line 29
A module to provide a bridge between Drupal websites and PhoneGap mobile applications.

Code

function drupalgap_permission() {
  return array(
    'administer drupalgap' => array(
      'title' => t('Administer DrupalGap'),
      'description' => t('Perform administration tasks for DrupalGap.'),
    ),
    'drupalgap get vocabularies' => array(
      'title' => t('Get Vocabularies'),
      'description' => t('Retrieve basic data about vocabularies.'),
    ),
    'drupalgap get terms' => array(
      'title' => t('Get Terms'),
      'description' => t('Retrieve basic data about vocabularies terms.'),
    ),
  );
}