You are here

public function ILTResult::getStatus 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::getStatus()

Returns the user status.

Return value

int|null The user status, or NULL in case the user status field has not been set on the entity.

Overrides ILTResultInterface::getStatus

File

src/Entity/ILTResult.php, line 109

Class

ILTResult
Defines the ILT Result entity.

Namespace

Drupal\opigno_ilt\Entity

Code

public function getStatus() {
  return $this
    ->get('status')->value;
}