public function LingotekEntity::setStatus in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.5 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 440 - 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;
}