You are here

globallink_interface.module in GlobalLink Connect for Drupal 7.5

GlobalLink interface translation module.

This module adds Built-in Interface translation support with configuration options.

File

globallink_interface/globallink_interface.module
View source
<?php

/**
 * @file
 * GlobalLink interface translation module.
 *
 * This module adds Built-in Interface translation support with configuration options.
 */

/**
 * Implements hook_menu().
 */
function globallink_interface_menu() {
  $items = array();
  $items['admin/globallink-translations/dashboard/interface'] = array(
    'title' => ' Interfaces ',
    'page callback' => 'globallink_interface_dashboard_page',
    'access callback' => 'globallink_access_callback_any',
    'type' => MENU_LOCAL_TASK,
    'file' => 'globallink_interface_send.inc',
    'weight' => 10,
    'page arguments' => array(
      'interface',
    ),
  );
  $items['admin/globallink-translations/activeSubmissions/interface'] = array(
    'title' => ' Interfaces ',
    'page callback' => 'globallink_interface_active_submissions',
    'access callback' => 'globallink_access_callback_any',
    'file' => 'globallink_interface_active_submissions.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'page arguments' => array(
      'interface',
    ),
  );
  $items['admin/globallink-translations/receiveTranslation/interface'] = array(
    'title' => ' Interfaces ',
    'page callback' => 'globallink_interface_receive_submissions',
    'access callback' => 'globallink_access_callback_any',
    'file' => 'globallink_interface_receive.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'page arguments' => array(
      'interface',
    ),
  );
  $items['admin/globallink-translations/receiveTranslation/interface/preview'] = array(
    'title' => 'Preview Translation',
    'page callback' => 'globallink_interface_preview_translated_content',
    'file' => 'globallink_interface_receive.inc',
    'access arguments' => array(
      TPT_ROLE_MANAGE_TRANSLATIONS,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}

Functions

Namesort descending Description
globallink_interface_menu Implements hook_menu().