You are here

function globallink_commerce_check_delete in GlobalLink Connect for Drupal 7.7

Gets commerce product translation status.

Parameters

string $pid: The commerce product ID.

string $tgt_locale: The target locale.

string $title: The translation title.

Return value

string Status message.

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

File

globallink_commerce/globallink_commerce.inc, line 200

Code

function globallink_commerce_check_delete($pid) {
  $entity = commerce_product_load($pid);
  if (empty($entity)) {
    return TRUE;
  }
  return FALSE;
}