You are here

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

Returns the ILT ID.

Return value

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

Overrides ILTResultInterface::getILTId

File

src/Entity/ILTResult.php, line 64

Class

ILTResult
Defines the ILT Result entity.

Namespace

Drupal\opigno_ilt\Entity

Code

public function getILTId() {
  return $this
    ->get('opigno_ilt')->target_id;
}