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