You are here

public function LearningPathAchievementController::buildTrainingProgress in Opigno Learning path 3.x

Returns training progress page.

1 string reference to 'LearningPathAchievementController::buildTrainingProgress'
opigno_learning_path.routing.yml in ./opigno_learning_path.routing.yml
opigno_learning_path.routing.yml

File

src/Controller/LearningPathAchievementController.php, line 1036

Class

LearningPathAchievementController
Class LearningPathAchievementController.

Namespace

Drupal\opigno_learning_path\Controller

Code

public function buildTrainingProgress($group = NULL, $account = NULL) {
  return array_map(function ($group) use ($account) {
    return $this
      ->build_training($group, $account);
  }, [
    $group,
  ]);
}