public function ILT::setTrainerId in Opigno Instructor-led Trainings 3.x
Same name and namespace in other branches
- 8 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;
}