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