public function LingotekProfile::setCampaignIdPermission in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8.2 src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
- 4.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
- 3.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
- 3.1.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
- 3.2.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
- 3.3.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
- 3.4.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
- 3.5.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
- 3.6.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
- 3.7.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setCampaignIdPermission()
Sets the Permission setting for whether or not to use the Campaign Id.
Parameters
bool $use_campaign_id: Flag indicating if we want to indicate the Campaign ID.
Return value
$this
Overrides LingotekIntelligenceMetadataInterface::setCampaignIdPermission
File
- src/
Entity/ LingotekProfile.php, line 492
Class
- LingotekProfile
- Defines the LingotekProfile entity.
Namespace
Drupal\lingotek\EntityCode
public function setCampaignIdPermission($use_campaign_id) {
$this->intelligence_metadata['use_campaign_id'] = $use_campaign_id;
return $this;
}