You are here

public function LingotekIntelligenceServiceConfig::setBaseDomainPermission in Lingotek Translation 3.7.x

Same name and namespace in other branches
  1. 8.2 src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()
  2. 4.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()
  3. 3.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()
  4. 3.1.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()
  5. 3.2.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()
  6. 3.3.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()
  7. 3.4.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()
  8. 3.5.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()
  9. 3.6.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()
  10. 3.8.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setBaseDomainPermission()

Sets the Permission setting for whether or not to include the Base Domain in the metadata.

Parameters

bool $use_base_domain: Flag indicating if we want to indicate the Base Domain.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setBaseDomainPermission

File

src/LingotekIntelligenceServiceConfig.php, line 437

Class

LingotekIntelligenceServiceConfig
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function setBaseDomainPermission($use_base_domain) {
  return $this
    ->setValue('use_base_domain', $use_base_domain);
}