function globallink_menu_preview_translated_content in GlobalLink Connect for Drupal 7.6
Same name and namespace in other branches
- 7.5 globallink_menu/globallink_menu_receive.inc \globallink_menu_preview_translated_content()
Previews translated menu content in the form of JSON.
1 string reference to 'globallink_menu_preview_translated_content'
- globallink_menu_menu in globallink_menu/
globallink_menu.module - Implements hook_menu().
File
- globallink_menu/
globallink_menu_receive.inc, line 704
Code
function globallink_menu_preview_translated_content() {
$row_id = $_POST['rid'];
$arr = globallink_menu_get_translations_for_row_id($row_id);
drupal_json_output($arr);
}