You are here

function globallink_get_root_menu in GlobalLink Connect for Drupal 7.7

Same name and namespace in other branches
  1. 7.5 globallink.inc \globallink_get_root_menu()
  2. 7.6 globallink.inc \globallink_get_root_menu()

Returns GlobalLink modules root menu.

Parameters

string $menu_item: The current menu item.

Return value

string String that represents menu item path.

11 calls to globallink_get_root_menu()
globallink_beans_dashboard_form in globallink_beans/globallink_beans_send.inc
Builds form to create a beans submission.
globallink_block_dashboard_form in globallink_block/globallink_block_send.inc
Builds form to create a block submission.
globallink_commerce_dashboard_form in globallink_commerce/globallink_commerce_send.inc
Builds form to create a commerce submission.
globallink_dashboard_node_form in ./globallink_send_translations.inc
Builds form to create a GlobalLink submission.
globallink_entity_dashboard_form in globallink_entity/globallink_entity_send.inc
Builds form to create an entity submission.

... See full list

File

./globallink.inc, line 17
Miscellaneous GlobalLink functions for node translations (non-entity).

Code

function globallink_get_root_menu($menu_item) {
  return 'admin/' . $menu_item;
}