MDL-51362 libraries: Remove deprecated admin tool unittest
[moodle.git] / admin / upgrade.txt
blob6d83d20bd7aeb5c5e8b0f7fbf3c41ad7680947e9
1 This files describes API changes in /admin/*.
3 === 3.3 ===
5 * The admin settings admin_setting_configselect and admin_setting_configmultiselect now support the optgroup tag.
6   Grouping of options can be created with this new tag.
7   For using it, the option parameters needs the Group names as indexes:
8   [
9     "Spain" =>  ["madrid" => "Madrid", "barcelona" => "Barcelona"],
10     "France" => ["paris" => "Paris", "marseille" => "Marseille"],
11   ]
13 === 3.2 ===
15 * Admin settings have been refined to better support right-to-left languages. In RTL,
16   most fields should not have their direction flipped, a URL, a path to a file, ...
17   are always displayed LTR. The admin setting will now best guess if they should be
18   RTLized based on their PARAM_* type. To override that guess, use
19   admin_setting::set_force_ltr(true/false).