You are here

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

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

Sets the related training.

Parameters

\Drupal\group\Entity\GroupInterface|null $training: The related training entity.

Return value

$this

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

File

src/ILTInterface.php, line 136

Class

ILTInterface
Provides an interface defining a ILT entity.

Namespace

Drupal\opigno_ilt

Code

public function setTraining($training);