You are here

function globallink_translate_node_for_language in GlobalLink Connect for Drupal 7.7

Same name and namespace in other branches
  1. 7.5 globallink.module \globallink_translate_node_for_language()
  2. 7.6 globallink.module \globallink_translate_node_for_language()

Implements hook_globallink_translate_node_for_language().

2 calls to globallink_translate_node_for_language()
globallink_entity_send_for_translations in globallink_entity/globallink_entity.inc
Sends entities for translation.
globallink_send_for_translations in ./globallink_node.inc

File

./globallink.module, line 1634
GlobalLink translation module.

Code

function globallink_translate_node_for_language($node, $drupal_target_locale) {
  $result = module_invoke_all('globallink_translate_node_for_language', $node, $drupal_target_locale);
  if (count($result) > 0) {
    return TRUE;
  }
  return FALSE;
}