You are here

public function LingotekProfile::setAutomaticRequest in Lingotek Translation 3.4.x

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

Sets whether this profile indicates automatic request of translations.

Parameters

bool $auto_request: Whether the profile indicates automatic request or not.

Return value

$this

Overrides LingotekProfileInterface::setAutomaticRequest

File

src/Entity/LingotekProfile.php, line 724

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function setAutomaticRequest($auto_request) {
  $this->auto_request = $auto_request;
  return $this;
}