You are here

public function LingotekProfile::hasAutomaticUpload in Lingotek Translation 8

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

Returns whether this profile indicates automatic upload of sources.

Return value

bool Whether the profile indicates automatic upload or not.

Overrides LingotekProfileInterface::hasAutomaticUpload

File

src/Entity/LingotekProfile.php, line 150
Contains \Drupal\lingotek\Entity\LingotekProfile.

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function hasAutomaticUpload() {
  return (bool) $this->auto_upload;
}