public function LingotekIntelligenceService::setAuthorEmailPermission in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
- 4.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
- 3.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
- 3.1.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
- 3.3.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
- 3.4.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
- 3.5.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
- 3.6.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
- 3.7.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
- 3.8.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setAuthorEmailPermission()
Sets the Permission setting for whether or not an Author Email should be used in the Intelligence Metadata.
Parameters
bool $use_author_email: Flag indicating if the author email should be used.
Return value
$this
Overrides LingotekIntelligenceMetadataInterface::setAuthorEmailPermission
File
- src/
LingotekIntelligenceService.php, line 263
Class
- LingotekIntelligenceService
- Service for managing Lingotek Intelligence related configuration.
Namespace
Drupal\lingotekCode
public function setAuthorEmailPermission($use_author_email) {
return $this
->setValue('use_author_email', $use_author_email);
}