You are here

public function UserModuleStatus::setMaxScore in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Entity/UserModuleStatus.php \Drupal\opigno_module\Entity\UserModuleStatus::setMaxScore()
1 call to UserModuleStatus::setMaxScore()
UserModuleStatus::finishAttempt in src/Entity/UserModuleStatus.php
Finish user attempt.

File

src/Entity/UserModuleStatus.php, line 311

Class

UserModuleStatus
Defines the User module status entity.

Namespace

Drupal\opigno_module\Entity

Code

public function setMaxScore($value) {
  $this
    ->set('max_score', $value);
  return $this;
}