You are here

function globallink_is_node_translatable in GlobalLink Connect for Drupal 7.7

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

Implements hook_globallink_is_node_translatable().

3 calls to globallink_is_node_translatable()
globallink_dashboard_node_form in ./globallink_send_translations.inc
Builds form to create a GlobalLink submission.
globallink_entity_dashboard_form in globallink_entity/globallink_entity_send.inc
Builds form to create an entity submission.
globallink_menu_local_tasks_alter in ./globallink.module
Implements hook_menu_local_tasks_alter().

File

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

Code

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