You are here

function jdrupal_permission in jDrupal 7

Implements hook_permission().

File

./jdrupal.module, line 27
The comanion module for the jDrupal JavaScript Library for Drupal.

Code

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