You are here

function globallink_beans_preview_translated_content in GlobalLink Connect for Drupal 7.6

Previews translated beans content in the form of JSON.

1 string reference to 'globallink_beans_preview_translated_content'
globallink_beans_menu in globallink_beans/globallink_beans.module
Implements hook_menu().

File

globallink_beans/globallink_beans_receive.inc, line 699

Code

function globallink_beans_preview_translated_content() {
  $row_id = $_POST['rid'];
  $arr = globallink_beans_get_translations_for_row_id($row_id);
  drupal_json_output($arr);
}