You are here

public function LatestActivityInterface::setTraining in Opigno Learning path 8

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

Sets the training entity.

Parameters

\Drupal\group\Entity\GroupInterface $training: The training entity.

Return value

\Drupal\opigno_learning_path\LatestActivityInterface The called entity.

1 method overrides LatestActivityInterface::setTraining()
LatestActivity::setTraining in src/Entity/LatestActivity.php
Sets the training entity.

File

src/LatestActivityInterface.php, line 51

Class

LatestActivityInterface
Provides an interface defining a LatestActivity entity.

Namespace

Drupal\opigno_learning_path

Code

public function setTraining($training);