public function LingotekConfigSet::preDownload in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.6 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::preDownload()
Overrides LingotekTranslatableEntity::preDownload
File
- lib/
Drupal/ lingotek/ LingotekConfigSet.php, line 1333 - Defines LingotekConfigSet.
Class
- LingotekConfigSet
- A class wrapper for Lingotek-specific behavior on ConfigSets.
Code
public function preDownload($lingotek_locale, $completed) {
// If auto download is turned off, you need to uncomment these lines and set status to READY.
/* if ($completed) {
$this->setTargetsStatus(LingotekSync::STATUS_READY, $lingotek_locale);
// The following lines mark the whole set as ready rather than just the changed items.
$lids = array_keys(self::getAllSegments($set_id));
self::markLidsNotCurrent($lids)
} */
}