You are here

public function LPStatusInterface::setTrainingId in Opigno Learning path 8

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

Sets the training ID.

Parameters

int $id: The training ID.

Return value

\Drupal\opigno_learning_path\LPStatusInterface The called entity.

1 method overrides LPStatusInterface::setTrainingId()
LPStatus::setTrainingId in src/Entity/LPStatus.php
Sets the training ID.

File

src/LPStatusInterface.php, line 33

Class

LPStatusInterface
Provides an interface defining a User Learning Path Attempt Status entity.

Namespace

Drupal\opigno_learning_path

Code

public function setTrainingId($id);