Merge branch 'MDL-67351-master_required_setting' of https://github.com/catalyst/moodle
authorAdrian Greeve <abgreeve@gmail.com>
Thu, 30 Jan 2020 00:11:33 +0000 (08:11 +0800)
committerAdrian Greeve <abgreeve@gmail.com>
Thu, 30 Jan 2020 00:11:33 +0000 (08:11 +0800)
1  2 
lib/upgrade.txt

diff --cc lib/upgrade.txt
@@@ -21,7 -19,12 +21,13 @@@ information provided here is intended e
    - $plugin->incompatible = 36;
      incompatible takes a single int corresponding to the first incompatible branch. Any Moodle versions including and
      above this will be prevented from installing the plugin, and a message will be given when attempting installation.
 +* Added the <component>_bulk_user_actions() callback which returns a list of custom action_links objects
+ * Add 'required' admin flag for mod forms allows elements to be toggled between being required or not in admin settings.
+   - In mod settings, along with lock, advanced flags, the required flag can now be set with $setting->set_required_flag_options().
+     The name of the admin setting must be exactly the same as the mod_form element.
+   - Currently supported by:
+     - mod_assign
+     - mod_quiz
  
  === 3.8 ===
  * Add CLI option to notify all cron tasks to stop: admin/cli/cron.php --stop