public function LingotekIntelligenceServiceConfig::setAuthorEmailPermission in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setAuthorEmailPermission()
- 4.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setAuthorEmailPermission()
- 3.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setAuthorEmailPermission()
- 3.1.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setAuthorEmailPermission()
- 3.3.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setAuthorEmailPermission()
- 3.4.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setAuthorEmailPermission()
- 3.5.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setAuthorEmailPermission()
- 3.6.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setAuthorEmailPermission()
- 3.7.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setAuthorEmailPermission()
- 3.8.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::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/
LingotekIntelligenceServiceConfig.php, line 242
Class
- LingotekIntelligenceServiceConfig
- 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);
}