You are here

public function LingotekProfile::getContactEmailForAuthorPermission in Lingotek Translation 3.2.x

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

Gets the Permission setting for whether or not to use the Contact Email as the author's email.

Return value

bool

Overrides LingotekIntelligenceMetadataInterface::getContactEmailForAuthorPermission

File

src/Entity/LingotekProfile.php, line 423

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

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