You are here

globallink_fieldable_panels.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_fieldable_panels/globallink_fieldable_panels.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_fieldable_panels_menu() {
  $items = array();
  $items['admin/globallink-translations/dashboard/fieldable_panels'] = array(
    'title' => ' Fieldable Panels Panes  ',
    'page callback' => 'globallink_fieldable_panels_dashboard',
    'access callback' => 'globallink_access_callback_any',
    'type' => MENU_LOCAL_TASK,
    'file' => 'globallink_fieldable_panels_send.inc',
    'weight' => 10,
    'page arguments' => array(
      GLOBALLINK_ENTITY_TYPE_FPP,
    ),
  );
  $items['admin/globallink-translations/dashboard/fieldable_panels/preview/%/%ctools_js'] = array(
    'title' => 'Preview',
    'page callback' => 'globallink_fieldable_panels_preview',
    'page arguments' => array(
      5,
    ),
    'file' => 'globallink_fieldable_panels_send.inc',
    'access callback' => 'globallink_access_callback_any',
    'type' => MENU_CALLBACK,
  );
  $items['admin/globallink-translations/workbench/fieldable_panels/%sub_id/%lang_id'] = array(
    'title' => ' Fieldable Panels Panes ',
    '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(
      GLOBALLINK_ENTITY_TYPE_FPP,
    ),
  );
  $items['admin/globallink-translations/receiveTranslation/fieldable_panels/preview'] = array(
    'title' => 'Preview Translation',
    'page callback' => 'globallink_fieldable_panels_preview_translated_content',
    'file' => 'globallink_fieldable_panels_receive.inc',
    'access arguments' => array(
      TPT_ROLE_MANAGE_TRANSLATIONS,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}

Functions

Namesort descending Description
globallink_fieldable_panels_menu Implements hook_menu().