public function LingotekIntelligenceService::setRegionPermission in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8.2 src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setRegionPermission()
- 4.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setRegionPermission()
- 3.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setRegionPermission()
- 3.1.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setRegionPermission()
- 3.2.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setRegionPermission()
- 3.3.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setRegionPermission()
- 3.4.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setRegionPermission()
- 3.5.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setRegionPermission()
- 3.6.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setRegionPermission()
- 3.7.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::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/
LingotekIntelligenceService.php, line 431
Class
- LingotekIntelligenceService
- Service for managing Lingotek Intelligence related configuration.
Namespace
Drupal\lingotekCode
public function setRegionPermission($use_region) {
return $this
->setValue('use_region', $use_region);
}