You are here

function globallink_taxonomy_menu in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.7 globallink_taxonomy/globallink_taxonomy.module \globallink_taxonomy_menu()
  2. 7.5 globallink_taxonomy/globallink_taxonomy.module \globallink_taxonomy_menu()

Implements hook_menu().

File

globallink_taxonomy/globallink_taxonomy.module, line 13
GlobalLink taxonomy translation module.

Code

function globallink_taxonomy_menu() {
  $items = array();
  $items['admin/globallink-translations/dashboard/taxonomy'] = array(
    'title' => ' Taxonomy ',
    'page callback' => 'globallink_taxonomy_dashboard',
    'access callback' => 'globallink_access_callback_any',
    'type' => MENU_LOCAL_TASK,
    'file' => 'globallink_taxonomy_send.inc',
    'weight' => 10,
    'page arguments' => array(
      'taxonomy',
    ),
  );
  $items['admin/globallink-translations/activeSubmissions/taxonomy'] = array(
    'title' => ' Taxonomy ',
    'page callback' => 'globallink_taxonomy_active_submissions',
    'access callback' => 'globallink_access_callback_any',
    'file' => 'globallink_taxonomy_active_submissions.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'page arguments' => array(
      'taxonomy',
    ),
  );
  $items['admin/globallink-translations/receiveTranslation/taxonomy'] = array(
    'title' => ' Taxonomy ',
    'page callback' => 'globallink_taxonomy_receive_submissions',
    'access callback' => 'globallink_access_callback_any',
    'file' => 'globallink_taxonomy_receive.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'page arguments' => array(
      'taxonomy',
    ),
  );
  $items['admin/globallink-translations/receiveTranslation/taxonomy/preview'] = array(
    'title' => 'Preview Translation',
    'page callback' => 'globallink_taxonomy_preview_translated_content',
    'file' => 'globallink_taxonomy_receive.inc',
    'access arguments' => array(
      TPT_ROLE_MANAGE_TRANSLATIONS,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}