You are here

function globallink_taxonomy_preview_translated_content in GlobalLink Connect for Drupal 7.5

Same name and namespace in other branches
  1. 7.6 globallink_taxonomy/globallink_taxonomy_receive.inc \globallink_taxonomy_preview_translated_content()

Previews translated taxonomy content in the form of JSON.

1 string reference to 'globallink_taxonomy_preview_translated_content'
globallink_taxonomy_menu in globallink_taxonomy/globallink_taxonomy.module
Implements hook_menu().

File

globallink_taxonomy/globallink_taxonomy_receive.inc, line 729

Code

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