public function ILT::setTrainerId in Opigno Instructor-led Trainings 8
Same name and namespace in other branches
- 3.x src/Entity/ILT.php \Drupal\opigno_ilt\Entity\ILT::setTrainerId()
File
- src/
Entity/ ILT.php, line 165
Class
- ILT
- Defines the ILT entity.
Namespace
Drupal\opigno_ilt\EntityCode
public function setTrainerId($uid) {
$this
->set('trainer', $uid);
return $this;
}