You are here

public function LingotekIntelligenceServiceConfig::getBusinessDivisionPermission in Lingotek Translation 3.6.x

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

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

Return value

bool

Overrides LingotekIntelligenceMetadataInterface::getBusinessDivisionPermission

File

src/LingotekIntelligenceServiceConfig.php, line 279

Class

LingotekIntelligenceServiceConfig
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function getBusinessDivisionPermission() {
  $config = $this->configFactory
    ->get('lingotek.settings');
  return $config
    ->get('intelligence.use_business_division');
}