You are here

public function LingotekIntelligenceServiceConfig::setCampaignIdPermission in Lingotek Translation 3.8.x

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

Class

LingotekIntelligenceServiceConfig
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function setCampaignIdPermission($use_campaign_id) {
  return $this
    ->setValue('use_campaign_id', $use_campaign_id);
}