You are here

public function OpignoModuleManagerController::activitiesBankLPM in Opigno module 3.x

Same name and namespace in other branches
  1. 8 src/Controller/OpignoModuleManagerController.php \Drupal\opigno_module\Controller\OpignoModuleManagerController::activitiesBankLPM()

Get activities bank for module with 'add' operation.

This method does the same think as \Drupal\opigno_module\Controller\LearningPathController::activitiesBank() but is using in Training context (on Learning Path Manager page).

1 string reference to 'OpignoModuleManagerController::activitiesBankLPM'
opigno_module.routing.yml in ./opigno_module.routing.yml
opigno_module.routing.yml

File

src/Controller/OpignoModuleManagerController.php, line 110

Class

OpignoModuleManagerController
Controller for all the actions of the Opigno module manager.

Namespace

Drupal\opigno_module\Controller

Code

public function activitiesBankLPM() {

  // Output activities bank view.
  $build['activities_bank'] = views_embed_view('opigno_activities_bank_lp_interface');
  return $build;
}