public function LingotekIntelligenceService::setCampaignRatingPermission in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
- 3.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
- 3.1.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
- 3.2.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
- 3.3.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
- 3.4.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
- 3.5.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
- 3.6.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
- 3.7.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
- 3.8.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignRatingPermission()
Sets the Permission setting for whether or not the Campaign Rating should be used and tracked.
Parameters
bool $use_campaign_rating: Flag indicating if we want to indicate the Campaign Rating.
Return value
$this
Overrides LingotekIntelligenceMetadataInterface::setCampaignRatingPermission
File
- src/
LingotekIntelligenceService.php, line 333
Class
- LingotekIntelligenceService
- Service for managing Lingotek Intelligence related configuration.
Namespace
Drupal\lingotekCode
public function setCampaignRatingPermission($use_campaign_rating) {
return $this
->setValue('use_campaign_rating', $use_campaign_rating);
}