public function LingotekProfile::setRegion in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
- 3.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
- 3.1.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
- 3.2.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
- 3.3.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
- 3.4.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
- 3.5.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
- 3.6.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
- 3.7.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
- 3.8.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setRegion()
Sets the Region the content is meant for, presented to, or created in.
Parameters
string $region: The Region.
Return value
$this
Overrides LingotekIntelligenceMetadataInterface::setRegion
File
- src/
Entity/ LingotekProfile.php, line 370
Class
- LingotekProfile
- Defines the LingotekProfile entity.
Namespace
Drupal\lingotek\EntityCode
public function setRegion($region) {
$this->intelligence_metadata['region'] = $region;
return $this;
}