public function LingotekIntelligenceServiceConfig::getDefaultAuthorEmail in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
- 4.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
- 3.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
- 3.1.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
- 3.3.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
- 3.4.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
- 3.5.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
- 3.6.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
- 3.7.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
- 3.8.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getDefaultAuthorEmail()
Gets the Default Author Email.
Return value
bool
Overrides LingotekIntelligenceMetadataInterface::getDefaultAuthorEmail
File
- src/
LingotekIntelligenceServiceConfig.php, line 215
Class
- LingotekIntelligenceServiceConfig
- Service for managing Lingotek Intelligence related configuration.
Namespace
Drupal\lingotekCode
public function getDefaultAuthorEmail() {
$value = NULL;
$config = $this->configFactory
->get('lingotek.settings');
if ($config
->get('intelligence.use_author_email')) {
$value = $config
->get('intelligence.default_author_email');
}
return $value;
}