You are here

public function LingotekProfileInterface::setAutomaticDownloadForTarget in Lingotek Translation 3.3.x

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

Sets whether this profile indicates automatic download of translations for an specific target language.

Parameters

string $langcode: The language code.

bool $value: TRUE if translation should be automatically downloaded, FALSE if not.

Return value

$this

1 method overrides LingotekProfileInterface::setAutomaticDownloadForTarget()
LingotekProfile::setAutomaticDownloadForTarget in src/Entity/LingotekProfile.php
Sets whether this profile indicates automatic download of translations for an specific target language.

File

src/LingotekProfileInterface.php, line 258

Class

LingotekProfileInterface
Provides an interface defining a Lingotek profile entity.

Namespace

Drupal\lingotek

Code

public function setAutomaticDownloadForTarget($langcode, $value);