You are here

public function LingotekIntelligenceService::getCampaignRating in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 4.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()
  2. 3.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()
  3. 3.1.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()
  4. 3.2.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()
  5. 3.3.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()
  6. 3.4.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()
  7. 3.5.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()
  8. 3.6.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()
  9. 3.7.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()
  10. 3.8.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::getCampaignRating()

Get the Campaign Rating associated with the content and the Campaign (which is represented by the Campaign ID).

Return value

int

Overrides LingotekIntelligenceMetadataInterface::getCampaignRating

File

src/LingotekIntelligenceService.php, line 103

Class

LingotekIntelligenceService
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function getCampaignRating() {
  return $this
    ->getValue(__FUNCTION__);
}