This is how the quiz does it: https://github.com/moodle/moodle/blob/v3.5.0/mod/quiz/lib.php#L1808
Re: adding another button next to "turn editing on" in the new module I'm creating
by Tim Hunt -
Number of replies: 0