You are here

function globallink_permission in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.7 globallink.module \globallink_permission()
  2. 7.5 globallink.module \globallink_permission()

Implements hook_permission().

File

./globallink.module, line 25
GlobalLink translation module.

Code

function globallink_permission() {
  return array(
    TPT_ROLE_MANAGE_TRANSLATIONS => array(
      'title' => TPT_ROLE_MANAGE_TRANSLATIONS,
    ),
    TPT_ROLE_DO_TRANSLATIONS => array(
      'title' => TPT_ROLE_DO_TRANSLATIONS,
    ),
    TPT_ROLE_VIEW_TRANSLATIONS => array(
      'title' => TPT_ROLE_VIEW_TRANSLATIONS,
    ),
  );
}