function bueditor_rolesort in BUEditor 5
Same name and namespace in other branches
- 6.2 admin/bueditor.admin.inc \bueditor_rolesort()
- 6 bueditor.admin.inc \bueditor_rolesort()
- 7 admin/bueditor.admin.inc \bueditor_rolesort()
user sorting function for roles.
2 string references to 'bueditor_rolesort'
- bueditor_form_admin_submit in ./
bueditor.module - Admin form submit.
- bueditor_sorted_roles in ./
bueditor.module - Sort roles according to their weights.
File
- ./
bueditor.module, line 607
Code
function bueditor_rolesort($r1, $r2) {
return $r1['weight'] - $r2['weight'];
}