You are here

public function LingotekProfile::setBaseDomainPermission in Lingotek Translation 3.5.x

Same name and namespace in other branches
  1. 8.2 src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setBaseDomainPermission()
  2. 4.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setBaseDomainPermission()
  3. 3.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setBaseDomainPermission()
  4. 3.1.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setBaseDomainPermission()
  5. 3.2.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setBaseDomainPermission()
  6. 3.3.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setBaseDomainPermission()
  7. 3.4.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setBaseDomainPermission()
  8. 3.6.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setBaseDomainPermission()
  9. 3.7.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setBaseDomainPermission()
  10. 3.8.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::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/Entity/LingotekProfile.php, line 627

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function setBaseDomainPermission($use_base_domain) {
  $this->intelligence_metadata['use_base_domain'] = $use_base_domain;
  return $this;
}