mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
MDL-49423 admin: Support optgroup in admin_setting_configmultiselect
This commit is contained in:
parent
25905de518
commit
1295885084
4 changed files with 133 additions and 3 deletions
|
@ -2,8 +2,9 @@ This files describes API changes in /admin/*.
|
|||
|
||||
=== 3.3 ===
|
||||
|
||||
* The admin setting admin_setting_configselect now support the optgroup tag. Grouping of options can be created with this new tag.
|
||||
For using this new option, the option parameters needs the Group names as indexes:
|
||||
* The admin settings admin_setting_configselect and admin_setting_configmultiselect now support the optgroup tag.
|
||||
Grouping of options can be created with this new tag.
|
||||
For using it, the option parameters needs the Group names as indexes:
|
||||
[
|
||||
"Spain" => ["madrid" => "Madrid", "barcelona" => "Barcelona"],
|
||||
"France" => ["paris" => "Paris", "marseille" => "Marseille"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue