You are here

public function LingotekIntelligenceServiceConfig::setBusinessUnitPermission in Lingotek Translation 3.0.x

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

Sets the Permission setting for whether or not to use the Business Unit.

Parameters

bool $use_business_unit: Flag indicating if we want to use a Business Unit.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setBusinessUnitPermission

File

src/LingotekIntelligenceServiceConfig.php, line 272

Class

LingotekIntelligenceServiceConfig
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function setBusinessUnitPermission($use_business_unit) {
  return $this
    ->setValue('use_business_unit', $use_business_unit);
}