You are here

public function LingotekProfile::getAuthorEmailPermission in Lingotek Translation 3.8.x

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

Gets the Permission setting for whether or not the Author Email should be sent.

Return value

bool

Overrides LingotekIntelligenceMetadataInterface::getAuthorEmailPermission

File

src/Entity/LingotekProfile.php, line 425

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function getAuthorEmailPermission() {
  return $this->intelligence_metadata['use_author_email'];
}