You are here

public function LingotekIntelligenceServiceConfig::setRegionPermission in Lingotek Translation 3.4.x

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

Sets the Permission setting for whether or not to include the Region.

Parameters

bool $use_region: Flag indicating if we want to indicate the Region.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setRegionPermission

File

src/LingotekIntelligenceServiceConfig.php, line 422

Class

LingotekIntelligenceServiceConfig
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function setRegionPermission($use_region) {
  return $this
    ->setValue('use_region', $use_region);
}