public function LingotekProfile::setChannel in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8.2 src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
- 4.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
- 3.0.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
- 3.1.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
- 3.2.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
- 3.3.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
- 3.4.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
- 3.5.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
- 3.6.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
- 3.7.x src/Entity/LingotekProfile.php \Drupal\lingotek\Entity\LingotekProfile::setChannel()
Sets the Channel associated with the content. A channel is a way or outlet to market and sell products. This can be used to associate the content with a particular marketing channel.
Parameters
string $channel: The Channel.
Return value
$this
Overrides LingotekIntelligenceMetadataInterface::setChannel
File
- src/
Entity/ LingotekProfile.php, line 296
Class
- LingotekProfile
- Defines the LingotekProfile entity.
Namespace
Drupal\lingotek\EntityCode
public function setChannel($channel) {
$this->intelligence_metadata['channel'] = $channel;
return $this;
}