You are here

public function ILTInterface::setTrainingId in Opigno Instructor-led Trainings 8

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

Sets the ID of the related training.

Parameters

int|null $id: The ID of the related training.

Return value

$this

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

File

src/ILTInterface.php, line 109

Class

ILTInterface
Provides an interface defining a ILT entity.

Namespace

Drupal\opigno_ilt

Code

public function setTrainingId($id);