You are here

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

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

Gets the Permission setting for whether or not to use the Campaign Id.

Return value

bool

Overrides LingotekIntelligenceMetadataInterface::getCampaignIdPermission

File

src/Entity/LingotekProfile.php, line 485

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

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