You are here

public function LingotekConfigSet::setStatus in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.6 lib/Drupal/lingotek/LingotekConfigSet.php \LingotekConfigSet::setStatus()

Assign the set's status in the config metadata table

Overrides LingotekTranslatableEntity::setStatus

1 call to LingotekConfigSet::setStatus()
LingotekConfigSet::downloadTriggered in lib/Drupal/lingotek/LingotekConfigSet.php
Updates the local content of $target_code with data from a Lingotek Document

File

lib/Drupal/lingotek/LingotekConfigSet.php, line 674
Defines LingotekConfigSet.

Class

LingotekConfigSet
A class wrapper for Lingotek-specific behavior on ConfigSets.

Code

public function setStatus($status) {
  $this
    ->setMetadataValue('upload_status', $status);
  return $this;
}