You are here

public function LingotekIntelligenceService::getContactEmailForAuthorPermission in Lingotek Translation 3.1.x

Same name and namespace in other branches
  1. 8.2 src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getContactEmailForAuthorPermission()
  2. 4.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getContactEmailForAuthorPermission()
  3. 3.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getContactEmailForAuthorPermission()
  4. 3.2.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getContactEmailForAuthorPermission()
  5. 3.3.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getContactEmailForAuthorPermission()
  6. 3.4.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getContactEmailForAuthorPermission()
  7. 3.5.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getContactEmailForAuthorPermission()
  8. 3.6.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getContactEmailForAuthorPermission()
  9. 3.7.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getContactEmailForAuthorPermission()
  10. 3.8.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::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/LingotekIntelligenceService.php, line 270

Class

LingotekIntelligenceService
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function getContactEmailForAuthorPermission() {
  return $this
    ->getPermission(__FUNCTION__);
}