public function LingotekIntelligenceService::setContactEmailPermission in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContactEmailPermission()
- 4.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContactEmailPermission()
- 3.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContactEmailPermission()
- 3.1.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContactEmailPermission()
- 3.2.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContactEmailPermission()
- 3.3.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContactEmailPermission()
- 3.4.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContactEmailPermission()
- 3.5.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContactEmailPermission()
- 3.6.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setContactEmailPermission()
- 3.7.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::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/
LingotekIntelligenceService.php, line 375
Class
- LingotekIntelligenceService
- Service for managing Lingotek Intelligence related configuration.
Namespace
Drupal\lingotekCode
public function setContactEmailPermission($use_contact_email) {
return $this
->setValue('use_contact_email', $use_contact_email);
}