function _lingotek_notification_handle_document_archived in Lingotek Translation 7.7
1 call to _lingotek_notification_handle_document_archived()
- lingotek_notifications in ./
lingotek.sync.inc - Registers the site translation notfication callback.
File
- ./
lingotek.sync.inc, line 172 - Sync and management
Code
function _lingotek_notification_handle_document_archived($trans_obj) {
LingotekSync::disassociateEntitiesUsingEntityId($trans_obj
->getId());
$trans_obj
->setTargetsStatus(LingotekSync::STATUS_ARCHIVED);
$trans_obj
->setStatus(LingotekSync::STATUS_ARCHIVED);
}