You are here

public function LingotekProfileInterface::setAutomaticRequestForTarget in Lingotek Translation 3.7.x

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

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

Parameters

string $langcode: The language code.

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

Return value

$this

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

File

src/LingotekProfileInterface.php, line 233

Class

LingotekProfileInterface
Provides an interface defining a Lingotek profile entity.

Namespace

Drupal\lingotek

Code

public function setAutomaticRequestForTarget($langcode, $value);