public function LingotekIntelligenceServiceConfig::setCampaignRatingPermission in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRatingPermission()
- 4.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRatingPermission()
- 3.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRatingPermission()
- 3.1.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRatingPermission()
- 3.3.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRatingPermission()
- 3.4.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRatingPermission()
- 3.5.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRatingPermission()
- 3.6.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRatingPermission()
- 3.7.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRatingPermission()
- 3.8.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::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/
LingotekIntelligenceServiceConfig.php, line 317
Class
- LingotekIntelligenceServiceConfig
- 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);
}