You are here

public function ILTResult::setStatus in Opigno Instructor-led Trainings 8

Same name and namespace in other branches
  1. 3.x src/Entity/ILTResult.php \Drupal\opigno_ilt\Entity\ILTResult::setStatus()

Sets the user status.

Parameters

int $value: The user status.

Return value

$this

Overrides ILTResultInterface::setStatus

File

src/Entity/ILTResult.php, line 125

Class

ILTResult
Defines the ILT Result entity.

Namespace

Drupal\opigno_ilt\Entity

Code

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