system_sort_modules_by_info_name
- Versions
- 5 – 7
system_sort_modules_by_info_name($a, $b)
Array sorting callback; sorts modules or themes by their name.
Code
modules/system/system.admin.inc, line 780
<?php
function system_sort_modules_by_info_name($a, $b) {
return strcasecmp($a->info['name'], $b->info['name']);
}
?>Login or register to post comments 