You are here

public function LingotekProfile::getCampaignRatingPermission in Lingotek Translation 3.8.x

Same name and namespace in other branches
  1. 8.2 src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::getCampaignRatingPermission()
  2. 4.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::getCampaignRatingPermission()
  3. 3.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::getCampaignRatingPermission()
  4. 3.1.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::getCampaignRatingPermission()
  5. 3.2.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::getCampaignRatingPermission()
  6. 3.3.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::getCampaignRatingPermission()
  7. 3.4.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::getCampaignRatingPermission()
  8. 3.5.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::getCampaignRatingPermission()
  9. 3.6.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::getCampaignRatingPermission()
  10. 3.7.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::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/Entity/LingotekProfile.php, line 500

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function getCampaignRatingPermission() {
  return $this->intelligence_metadata['use_campaign_rating'];
}