You are here

function globallink_check_node_deleted in GlobalLink Connect for Drupal 7.7

Gets node translation status.

Parameters

string $nid: The node ID.

string $tgt_locale: The target locale.

string $title: The translation title.

Return value

string Status message.

1 call to globallink_check_node_deleted()
globallink_background_pull in ./globallink_background_jobs.inc
Pull submissions or documents

File

./globallink_node.inc, line 1633

Code

function globallink_check_node_deleted($nid) {
  $node = node_load($nid);
  if (!$node || is_null($node) || !is_object($node)) {
    return TRUE;
  }
  return FALSE;
}