You are here

public function LingotekConfigMetadata::setTargetStatus in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8 src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  2. 8.2 src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  3. 4.0.x src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  4. 3.0.x src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  5. 3.1.x src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  6. 3.2.x src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  7. 3.3.x src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  8. 3.5.x src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  9. 3.6.x src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  10. 3.7.x src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()
  11. 3.8.x src/Entity/LingotekConfigMetadata.php \Drupal\lingotek\Entity\LingotekConfigMetadata::setTargetStatus()

Sets the target status.

Parameters

array $target_status: The target status, as an associative array langcode => status_code.

Return value

$this

Overrides LingotekConfigMetadataInterface::setTargetStatus

File

src/Entity/LingotekConfigMetadata.php, line 139

Class

LingotekConfigMetadata
Defines the Lingotek config metadata entity.

Namespace

Drupal\lingotek\Entity

Code

public function setTargetStatus(array $target_status) {
  $this->target_status = $target_status;
  return $this;
}