You are here

public function LingotekConfigChunk::setStatus in Lingotek Translation 7.5

Set the chunk's status in the config metadata table

Overrides LingotekTranslatableEntity::setStatus

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

File

lib/Drupal/lingotek/LingotekConfigChunk.php, line 555
Defines LingotekConfigChunk.

Class

LingotekConfigChunk
A class wrapper for Lingotek-specific behavior on ConfigChunks.

Code

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