You are here

public function LingotekProfile::setExternalStyleIdPermission in Lingotek Translation 3.4.x

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

Sets the Permission setting for whether or not to include the External Style Id.

Parameters

bool $use_external_style_id: Flag indicating if we want to indicate the External Style ID.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setExternalStyleIdPermission

File

src/Entity/LingotekProfile.php, line 582

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

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