public function LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission in Lingotek Translation 3.6.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
- 4.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
- 3.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
- 3.1.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
- 3.2.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
- 3.3.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
- 3.4.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
- 3.5.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
- 3.7.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
- 3.8.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setContactEmailForAuthorPermission()
Sets the Permission setting for whether or not to use the Contact Email as the author's email.
Parameters
bool $use_contact_email_for_author: Flag indicating if we want to use contact email as author if author is not set.
Return value
$this
Overrides LingotekIntelligenceMetadataInterface::setContactEmailForAuthorPermission
File
- src/
LingotekIntelligenceServiceConfig.php, line 257
Class
- LingotekIntelligenceServiceConfig
- Service for managing Lingotek Intelligence related configuration.
Namespace
Drupal\lingotekCode
public function setContactEmailForAuthorPermission($use_contact_email_for_author) {
return $this
->setValue('use_contact_email_for_author', $use_contact_email_for_author);
}