public function LearningPathController::addIndex in Opigno module 3.x
Same name and namespace in other branches
- 8 src/Controller/LearningPathController.php \Drupal\opigno_module\Controller\LearningPathController::addIndex()
Add index.
1 string reference to 'LearningPathController::addIndex'
File
- src/
Controller/ LearningPathController.php, line 25
Class
- LearningPathController
- Class LearningPathController.
Namespace
Drupal\opigno_module\ControllerCode
public function addIndex() {
$opigno_module = OpignoModule::create();
$form = \Drupal::service('entity.form_builder')
->getForm($opigno_module);
return $form;
}