function globallink_fieldable_panels_preview_translated_content in GlobalLink Connect for Drupal 7.6
Same name and namespace in other branches
- 7.5 globallink_fieldable_panels/globallink_fieldable_panels_receive.inc \globallink_fieldable_panels_preview_translated_content()
Previews translated fieldable panels content in the form of JSON.
1 string reference to 'globallink_fieldable_panels_preview_translated_content'
- globallink_fieldable_panels_menu in globallink_fieldable_panels/
globallink_fieldable_panels.module - Implements hook_menu().
File
- globallink_fieldable_panels/
globallink_fieldable_panels_receive.inc, line 696
Code
function globallink_fieldable_panels_preview_translated_content() {
$row_id = $_POST['rid'];
$arr = globallink_fieldable_panels_get_translations_for_row_id($row_id);
drupal_json_output($arr);
}