function globallink_entity_menu in GlobalLink Connect for Drupal 7.5
Same name and namespace in other branches
- 7.7 globallink_entity/globallink_entity.module \globallink_entity_menu()
- 7.6 globallink_entity/globallink_entity.module \globallink_entity_menu()
Implements hook_menu().
File
- globallink_entity/
globallink_entity.module, line 205 - GlobalLink entity translation module.
Code
function globallink_entity_menu() {
$items = array();
$items['admin/globallink-translations/dashboard/entity'] = array(
'title' => ' Entity ',
'page callback' => 'globallink_entity_dashboard',
'access callback' => 'globallink_access_callback_any',
'type' => MENU_LOCAL_TASK,
'file' => 'globallink_entity_send.inc',
'page arguments' => array(
'entity',
),
);
$items['admin/globallink-translations/activeSubmissions/entity'] = array(
'title' => ' Entity ',
'page callback' => 'globallink_entity_active_submissions',
'access callback' => 'globallink_access_callback_any',
'file' => 'globallink_entity_active_submissions.inc',
'type' => MENU_LOCAL_TASK,
'page arguments' => array(
'entity',
),
);
$items['admin/globallink-translations/receiveTranslation/entity'] = array(
'title' => ' Entity ',
'page callback' => 'globallink_entity_receive_submissions',
'access callback' => 'globallink_access_callback_any',
'type' => MENU_LOCAL_TASK,
'file' => 'globallink_entity_receive.inc',
'page arguments' => array(
'entity',
),
);
$items['admin/globallink-translations/receiveTranslation/entity/preview'] = array(
'title' => 'Preview Translation',
'page callback' => 'globallink_entity_preview_translated_content',
'file' => 'globallink_entity_receive.inc',
'access arguments' => array(
TPT_ROLE_MANAGE_TRANSLATIONS,
),
'type' => MENU_CALLBACK,
);
return $items;
}