You are here

public function ILTInterface::getTrainingId in Opigno Instructor-led Trainings 3.x

Same name and namespace in other branches
  1. 8 src/ILTInterface.php \Drupal\opigno_ilt\ILTInterface::getTrainingId()

Returns the ID of the related training.

Return value

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

1 method overrides ILTInterface::getTrainingId()
ILT::getTrainingId in src/Entity/ILT.php
Returns the ID of the related training.

File

src/ILTInterface.php, line 99

Class

ILTInterface
Provides an interface defining a ILT entity.

Namespace

Drupal\opigno_ilt

Code

public function getTrainingId();