public function LPStatusInterface::setTraining in Opigno Learning path 3.x
Same name and namespace in other branches
- 8 src/LPStatusInterface.php \Drupal\opigno_learning_path\LPStatusInterface::setTraining()
Sets the training entity.
Parameters
int $training: The training entity.
Return value
\Drupal\opigno_learning_path\LPStatusInterface The called entity.
1 method overrides LPStatusInterface::setTraining()
- LPStatus::setTraining in src/
Entity/ LPStatus.php - Sets the training entity.
File
- src/
LPStatusInterface.php, line 52
Class
- LPStatusInterface
- Provides an interface defining a User Learning Path Attempt Status entity.
Namespace
Drupal\opigno_learning_pathCode
public function setTraining($training);