You are here

public function LingotekProfile::hasAutomaticDownload in Lingotek Translation 3.3.x

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

Returns whether this profile indicates automatic download of translations.

Return value

bool Whether the profile indicates automatic download or not.

Overrides LingotekProfileInterface::hasAutomaticDownload

1 call to LingotekProfile::hasAutomaticDownload()
LingotekProfile::hasAutomaticDownloadForTarget in src/Entity/LingotekProfile.php
Returns whether this profile indicates automatic download of translations for an specific target language.

File

src/Entity/LingotekProfile.php, line 715

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function hasAutomaticDownload() {
  return (bool) $this->auto_download;
}