function globallink_entity_preview_translated_content in GlobalLink Connect for Drupal 7.6
Same name and namespace in other branches
- 7.5 globallink_entity/globallink_entity_receive.inc \globallink_entity_preview_translated_content()
Previews translated entity content in the form of JSON.
1 string reference to 'globallink_entity_preview_translated_content'
- globallink_entity_menu in globallink_entity/
globallink_entity.module - Implements hook_menu().
File
- globallink_entity/
globallink_entity_receive.inc, line 688
Code
function globallink_entity_preview_translated_content() {
$row_id = $_POST['rid'];
$arr = globallink_entity_get_translations_for_row_id($row_id);
drupal_json_output($arr);
}