MDL-56487 tool_usertours: Sort blocks alphabetically
This commit is contained in:
@@ -90,6 +90,8 @@ class block extends base {
|
||||
$blocks[$block->name] = get_string('pluginname', 'block_' . $block->name);
|
||||
}
|
||||
|
||||
\core_collator::asort($blocks);
|
||||
|
||||
$mform->addElement('select', 'targetvalue_block', get_string('block', 'tool_usertours'), $blocks);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user