You are here

function _lingotek_notification_handle_target_deleted in Lingotek Translation 7.7

1 call to _lingotek_notification_handle_target_deleted()
lingotek_notifications in ./lingotek.sync.inc
Registers the site translation notfication callback.

File

./lingotek.sync.inc, line 184
Sync and management

Code

function _lingotek_notification_handle_target_deleted($trans_obj, $locale) {
  LingotekSync::setTargetStatus($trans_obj
    ->getEntityType(), $trans_obj
    ->getId(), $locale, LingotekSync::STATUS_GONE);
}