You are here

globallink_file_entity.module in GlobalLink Connect for Drupal 7.7

GlobalLink fieldable panels panes translation module.

This module adds fieldable panels panes translation support with configuration options.

File

globallink_file_entity/globallink_file_entity.module
View source
<?php

/**
 * @file
 * GlobalLink fieldable panels panes translation module.
 *
 * This module adds fieldable panels panes translation support with configuration options.
 */

/**
 * Implements hook_menu().
 */
function globallink_file_entity_menu() {
  $items = array();
  $items['admin/globallink-translations/dashboard/file_entity'] = array(
    'title' => ' File Entity',
    'page callback' => 'globallink_file_entity_dashboard',
    'access callback' => 'globallink_access_callback_any',
    'type' => MENU_LOCAL_TASK,
    'file' => 'globallink_file_entity_send.inc',
    'weight' => 10,
    'page arguments' => array(
      'file_entity',
    ),
  );
  $items['admin/globallink-translations/dashboard/file_entity/preview/%/%ctools_js'] = array(
    'title' => 'Preview',
    'page callback' => 'globallink_file_entity_preview',
    'page arguments' => array(
      5,
    ),
    'file' => 'globallink_file_entity_send.inc',
    'access callback' => 'globallink_access_callback_any',
    'type' => MENU_CALLBACK,
  );
  $items['admin/globallink-translations/workbench/file_entity/%sub_id/%lang_id'] = array(
    'title' => ' File Entity ',
    'page callback' => 'globallink_dashboard_active_submissions_page',
    'access callback' => 'globallink_access_callback_any',
    'file' => '../globallink_workbench_all_active_submissions.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'page arguments' => array(
      'file_entity',
    ),
  );
  $items['admin/globallink-translations/receiveTranslation/file_entity/preview'] = array(
    'title' => 'Preview Translation',
    'page callback' => 'globallink_file_entity_preview_translated_content',
    'file' => 'globallink_file_entity_receive.inc',
    'access arguments' => array(
      TPT_ROLE_MANAGE_TRANSLATIONS,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}

Functions

Namesort descending Description
globallink_file_entity_menu Implements hook_menu().