You are here

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

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

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

Parameters

bool $use_business_division: Flag indicating if we want to indicate the Business Division.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setBusinessDivisionPermission

File

src/Entity/LingotekProfile.php, line 477

Class

LingotekProfile
Defines the LingotekProfile entity.

Namespace

Drupal\lingotek\Entity

Code

public function setBusinessDivisionPermission($use_business_division) {
  $this->intelligence_metadata['use_business_division'] = $use_business_division;
  return $this;
}