public function LatestActivityInterface::setTrainingId in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/LatestActivityInterface.php \Drupal\opigno_learning_path\LatestActivityInterface::setTrainingId()
Sets the training ID.
Parameters
int $id: The training ID.
Return value
\Drupal\opigno_learning_path\LatestActivityInterface The called entity.
1 method overrides LatestActivityInterface::setTrainingId()
- LatestActivity::setTrainingId in src/
Entity/ LatestActivity.php - Sets the training ID.
File
- src/
LatestActivityInterface.php, line 32
Class
- LatestActivityInterface
- Provides an interface defining a LatestActivity entity.
Namespace
Drupal\opigno_learning_pathCode
public function setTrainingId($id);