public function UserModuleStatus::getModule in Opigno module 8
Same name and namespace in other branches
- 3.x src/Entity/UserModuleStatus.php \Drupal\opigno_module\Entity\UserModuleStatus::getModule()
4 calls to UserModuleStatus::getModule()
- UserModuleStatus::calculateBestScore in src/
Entity/ UserModuleStatus.php - Calculates module best score.
- UserModuleStatus::calculateMaxScore in src/
Entity/ UserModuleStatus.php - UserModuleStatus::finishAttempt in src/
Entity/ UserModuleStatus.php - Finish user attempt.
- UserModuleStatus::getRandomActivitiesMaxScore in src/
Entity/ UserModuleStatus.php - Calculate max score for the Module with enabled "Random activities" option.
File
- src/
Entity/ UserModuleStatus.php, line 146
Class
- UserModuleStatus
- Defines the User module status entity.
Namespace
Drupal\opigno_module\EntityCode
public function getModule() {
return $this
->get('module')->entity;
}