MDL-71575 qbank_viewquestiontext: Add View question text plugin to core

This implementation will introduce a qbank plugin "viewquestiontext"
which will view the question text row in the question bank view
by replacing the core class. Having this plugin will give users
the flexibility of enabling or disabling the question text row
in the question view.
This commit is contained in:
Safat Shahin 2021-05-31 15:26:37 +10:00
parent 206023c15f
commit 97880f26b9
8 changed files with 245 additions and 1 deletions

View file

@ -273,7 +273,7 @@ class_alias('core_question\local\bank\row_base', 'question_bank_row_base', true)
* @deprecated since Moodle 2.7 MDL-40457
* @todo MDl-72004 delete the class alias, not done in MDL-71516 for any potential error from other plugins.
*/
class_alias('core_question\bank\question_text_row', 'question_bank_question_text_row', true);
class_alias('qbank_viewquestiontext\question_text_row', 'question_bank_question_text_row', true);
/**
* @copyright 2009 Tim Hunt