You are here

function globallink_fieldable_panels_menu in GlobalLink Connect for Drupal 7.5

Same name and namespace in other branches
  1. 7.7 globallink_fieldable_panels/globallink_fieldable_panels.module \globallink_fieldable_panels_menu()
  2. 7.6 globallink_fieldable_panels/globallink_fieldable_panels.module \globallink_fieldable_panels_menu()

Implements hook_menu().

File

globallink_fieldable_panels/globallink_fieldable_panels.module, line 13
GlobalLink fieldable panels panes translation module.

Code

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(
      'fieldable_panels',
    ),
  );
  $items['admin/globallink-translations/activeSubmissions/fieldable_panels'] = array(
    'title' => ' Fieldable Panels Panes ',
    'page callback' => 'globallink_fieldable_panels_active_submissions',
    'access callback' => 'globallink_access_callback_any',
    'file' => 'globallink_fieldable_panels_active_submissions.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'page arguments' => array(
      'fieldable_panels',
    ),
  );
  $items['admin/globallink-translations/receiveTranslation/fieldable_panels'] = array(
    'title' => ' Fieldable Panels Panes ',
    'page callback' => 'globallink_fieldable_panels_receive_submissions',
    'access callback' => 'globallink_access_callback_any',
    'file' => 'globallink_fieldable_panels_receive.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'page arguments' => array(
      'fieldable_panels',
    ),
  );
  $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;
}