You are here

public function LingotekProfile::setAutomaticUpload in Lingotek Translation 3.1.x

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

Sets whether this profile indicates automatic upload of sources.

Parameters

bool $auto_upload: Whether the profile indicates automatic uploads or not.

Return value

$this

Overrides LingotekProfileInterface::setAutomaticUpload

File

src/Entity/LingotekProfile.php, line 677

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function setAutomaticUpload($auto_upload) {
  $this->auto_upload = $auto_upload;
  return $this;
}