-
Improvement
-
Resolution: Fixed
-
Minor
-
4.3
Recently I tried to add a new question bank plugin (MDL-78115) and I found myself stuck because I wanted to add a new menu option in the question bank menu (next to import, export and managecategories).
Basically there are two location where the menus and their access is hardcoded:
- In the question/classes/local/bank/question_edit_contexts.php: we have to add an entry here so the menu appears for the user who has access right. If not the menu will not ever appear.
- question/classes/output/qbank_action_menu.php: we have to add the url to the new question bank page to make it appear in the menu.
I feel we are pretty close to have a plug and play type of behaviour but not close enough not to need core modification to be able to add new question bank action via plugin for now.
- has to be done before
-
MDL-78115 Generate questions in question bank from an Open API prompt
- Closed