public function LingotekIntelligenceService::setCampaignIdPermission in Lingotek Translation 3.6.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignIdPermission()
- 4.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignIdPermission()
- 3.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignIdPermission()
- 3.1.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignIdPermission()
- 3.2.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignIdPermission()
- 3.3.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignIdPermission()
- 3.4.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignIdPermission()
- 3.5.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignIdPermission()
- 3.7.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setCampaignIdPermission()
- 3.8.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::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/
LingotekIntelligenceService.php, line 319
Class
- LingotekIntelligenceService
- Service for managing Lingotek Intelligence related configuration.
Namespace
Drupal\lingotekCode
public function setCampaignIdPermission($use_campaign_id) {
return $this
->setValue('use_campaign_id', $use_campaign_id);
}