function globallink_update_node_hook in GlobalLink Connect for Drupal 7.7
Same name and namespace in other branches
- 7.5 globallink.module \globallink_update_node_hook()
- 7.6 globallink.module \globallink_update_node_hook()
Implements hook_globallink_import_translation().
2 calls to globallink_update_node_hook()
- globallink_entity_save_translated_entity_with_fields in globallink_entity/
globallink_entity.inc - Saves translated entity with fields.
- globallink_save_translated_node_with_fields in ./
globallink_node.inc - Saves translated node with fields.
File
- ./
globallink.module, line 1647 - GlobalLink translation module.
Code
function globallink_update_node_hook($source_node, $target_node) {
foreach (module_implements('globallink_import_translation') as $module) {
$function = $module . '_globallink_import_translation';
$function($source_node->nid, $target_node);
}
}