You are here

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

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

Returns the related training.

Return value

\Drupal\group\Entity\GroupInterface|null The related training entity, or NULL in case training ID field has not been set on the entity.

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

File

src/ILTInterface.php, line 118

Class

ILTInterface
Provides an interface defining a ILT entity.

Namespace

Drupal\opigno_ilt

Code

public function getTraining();