You are here

public function LingotekIntelligenceServiceConfig::setContactEmailPermission in Lingotek Translation 3.8.x

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

Sets the Permission setting for whether or not to include the Contact Email.

Parameters

bool $use_contact_email: Flag indicating if we want to indicate the Contact Email.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setContactEmailPermission

File

src/LingotekIntelligenceServiceConfig.php, line 362

Class

LingotekIntelligenceServiceConfig
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function setContactEmailPermission($use_contact_email) {
  return $this
    ->setValue('use_contact_email', $use_contact_email);
}