public function LingotekIntelligenceServiceConfig::setCampaignRating in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
- 4.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
- 3.0.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
- 3.1.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
- 3.2.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
- 3.3.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
- 3.4.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
- 3.5.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
- 3.6.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
- 3.7.x src/LingotekIntelligenceServiceConfig.php \Drupal\lingotek\LingotekIntelligenceServiceConfig::setCampaignRating()
Sets the Campaign Rating. The Campaign rating must be numeric, but can otherwise be used to rate the campaign and its effect on this content.
Parameters
int $campaign_rating: The Campaign Rating.
Return value
$this
Overrides LingotekIntelligenceMetadataInterface::setCampaignRating
File
- src/
LingotekIntelligenceServiceConfig.php, line 94
Class
- LingotekIntelligenceServiceConfig
- Service for managing Lingotek Intelligence related configuration.
Namespace
Drupal\lingotekCode
public function setCampaignRating($campaign_rating) {
return $this
->setValue('campaign_rating', $campaign_rating);
}