You are here

public function LingotekProfile::setContactNamePermission in Lingotek Translation 3.6.x

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

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

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