You are here

public function LingotekProfile::setExternalStyleId in Lingotek Translation 4.0.x

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

Sets the External Style ID that is associated with the marketing and style the content is using.

Parameters

string $external_style_id: The External Style ID.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setExternalStyleId

File

src/Entity/LingotekProfile.php, line 371

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

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