You are here

public function LingotekProfile::setPurchaseOrder in Lingotek Translation 3.8.x

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

Sets the Purchase Order associated with the purchase of the translation.

Parameters

string $purchase_order: The Purchase Order.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setPurchaseOrder

File

src/Entity/LingotekProfile.php, line 356

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

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