MDL-71378 mod_qbank: Implement add to quiz bank sharing UI

This commit is contained in:
Simon Adams
2024-11-18 10:22:58 +00:00
parent 966b264cf3
commit 746efe94eb
53 changed files with 1122 additions and 393 deletions
+1
View File
@@ -89,5 +89,6 @@ $category->id = $categoryid;
$catcontext = context::instance_by_id($contextid);
$event = question_category_viewed::create_from_question_category_instance($category, $catcontext);
$event->trigger();
\core_question\local\bank\question_bank_helper::add_bank_context_to_recently_viewed($catcontext);
echo $OUTPUT->footer();