public function LingotekProfile::setPurchaseOrderPermission in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8.2 src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
- 3.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
- 3.1.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
- 3.2.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
- 3.3.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
- 3.4.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
- 3.5.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
- 3.6.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
- 3.7.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
- 3.8.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setPurchaseOrderPermission()
Sets the Permission setting for whether or not to include the Purchase Order.
Parameters
bool $use_purchase_order: Flag indicating if we want to indicate the Purchase Order.
Return value
$this
Overrides LingotekIntelligenceMetadataInterface::setPurchaseOrderPermission
File
- src/
Entity/ LingotekProfile.php, line 597
Class
- LingotekProfile
- Defines the LingotekProfile entity.
Namespace
Drupal\lingotek\EntityCode
public function setPurchaseOrderPermission($use_purchase_order) {
$this->intelligence_metadata['use_purchase_order'] = $use_purchase_order;
return $this;
}