You are here

public function OpignoAnswer::setUserModuleStatus in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoAnswer.php \Drupal\opigno_module\Entity\OpignoAnswer::setUserModuleStatus()

File

src/Entity/OpignoAnswer.php, line 156

Class

OpignoAnswer
Defines the Answer entity.

Namespace

Drupal\opigno_module\Entity

Code

public function setUserModuleStatus(UserModuleStatusInterface $user_attempt) {
  $this
    ->set('user_module_status', $user_attempt);
  return $this;
}