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