public function ILTResult::setILT in Opigno Instructor-led Trainings 3.x
Same name and namespace in other branches
- 8 src/Entity/ILTResult.php \Drupal\opigno_ilt\Entity\ILTResult::setILT()
Sets the ILT entity.
Parameters
\Drupal\opigno_ilt\ILTInterface $opigno_ilt: The ILT entity.
Return value
$this
Overrides ILTResultInterface::setILT
File
- src/
Entity/ ILTResult.php, line 56
Class
- ILTResult
- Defines the ILT Result entity.
Namespace
Drupal\opigno_ilt\EntityCode
public function setILT(ILTInterface $opigno_ilt) {
$this
->set('opigno_ilt', $opigno_ilt
->id());
return $this;
}