public function LingotekEntity::setStatus in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::setStatus()
- 7.6 lib/Drupal/lingotek/LingotekEntity.php \LingotekEntity::setStatus()
Overrides LingotekTranslatableEntity::setStatus
File
- lib/
Drupal/ lingotek/ LingotekEntity.php, line 361 - Defines LingotekEntity.
Class
- LingotekEntity
- A class wrapper for Lingotek-specific behavior on nodes.
Code
public function setStatus($status) {
$this
->setMetadataValue('node_sync_status', $status);
return $this;
}