public function LingotekIntelligenceServiceConfig::getPurchaseOrderPermission in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
- 4.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
- 3.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
- 3.1.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
- 3.2.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
- 3.3.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
- 3.4.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
- 3.5.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
- 3.6.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
- 3.8.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::getPurchaseOrderPermission()
Gets the Permission setting for whether or not to include the Purchase Order.
Return value
bool
Overrides LingotekIntelligenceMetadataInterface::getPurchaseOrderPermission
File
- src/
LingotekIntelligenceServiceConfig.php, line 399
Class
- LingotekIntelligenceServiceConfig
- Service for managing Lingotek Intelligence related configuration.
Namespace
Drupal\lingotekCode
public function getPurchaseOrderPermission() {
$config = $this->configFactory
->get('lingotek.settings');
return $config
->get('intelligence.use_purchase_order');
}