From 5aacd5e70ed2e71b9760d2eb6bdcce1fc08ff1fa Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Mon, 30 Sep 2019 14:15:35 +0100 Subject: [PATCH] MDL-66553 questions: add $CFG->questionbankcolumns to config-dist.php --- config-dist.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/config-dist.php b/config-dist.php index 56b3803b2b4..6dc6e7c59b1 100644 --- a/config-dist.php +++ b/config-dist.php @@ -626,6 +626,23 @@ $CFG->admin = 'admin'; // // $CFG->uninstallclionly = true; // +// +// Customise question bank display +// +// The display of Moodle's question bank is made up of a number of columns. +// You can customise this display by giving a comma-separated list of column class +// names here. Each class must be a subclass of \core_question\bank\column_base. +// For example you might define a class like +// class \local_qbank_extensions\my_column extends \core_question\bank\column_base +// in a local plugin, then add it to the list here. At the time of writing, +// the default question bank display is equivalent to the following, but you might like +// to check the latest default in question/classes/bank/view.php before setting this. +// +// $CFG->questionbankcolumns = 'checkbox_column,question_type_column,' +// . 'question_name_idnumber_tags_column,tags_action_column,edit_action_column,' +// . 'copy_action_column,preview_action_column,delete_action_column,' +// . 'creator_name_column,modifier_name_column'; +// //========================================================================= // 7. SETTINGS FOR DEVELOPMENT SERVERS - not intended for production use!!! //=========================================================================