You are here

globallink_taxonomy.module in GlobalLink Connect for Drupal 7.5

GlobalLink taxonomy translation module.

This module adds taxonomy translation support with configuration options.

File

globallink_taxonomy/globallink_taxonomy.module
View source
<?php

/**
 * @file
 * GlobalLink taxonomy translation module.
 *
 * This module adds taxonomy translation support with configuration options.
 */

/**
 * Implements hook_menu().
 */
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;
}

Functions

Namesort descending Description
globallink_taxonomy_menu Implements hook_menu().