public function OpignoModuleManagerController::getH5PActivitiesDetails in Opigno module 8
Same name and namespace in other branches
- 3.x src/Controller/OpignoModuleManagerController.php \Drupal\opigno_module\Controller\OpignoModuleManagerController::getH5PActivitiesDetails()
Returns H5P Activities Details.
1 call to OpignoModuleManagerController::getH5PActivitiesDetails()
- OpignoModuleManagerController::__construct in src/
Controller/ OpignoModuleManagerController.php - OpignoModuleManagerController constructor.
File
- src/
Controller/ OpignoModuleManagerController.php, line 374
Class
- OpignoModuleManagerController
- Controller for all the actions of the Opigno module manager.
Namespace
Drupal\opigno_module\ControllerCode
public function getH5PActivitiesDetails() {
$editor = H5PEditorUtilities::getInstance();
$content_types = $editor->ajaxInterface
->getContentTypeCache();
return $content_types;
}