function globallink_file_entity_menu in GlobalLink Connect for Drupal 7.7
Implements hook_menu().
File
- globallink_file_entity/
globallink_file_entity.module, line 13 - GlobalLink fieldable panels panes translation module.
Code
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;
}