You are here

function system_sort_modules_by_info_name in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/system/system.module \system_sort_modules_by_info_name()
  2. 5 modules/system/system.module \system_sort_modules_by_info_name()
  3. 7 modules/system/system.admin.inc \system_sort_modules_by_info_name()
  4. 9 core/modules/system/system.module \system_sort_modules_by_info_name()

Array sorting callback; sorts modules or themes by their name.

3 string references to 'system_sort_modules_by_info_name'
system_admin_theme_settings in modules/system/system.admin.inc
Form builder; This function allows selection of the theme to show in administration sections.
system_modules in modules/system/system.admin.inc
Menu callback; provides module enable/disable interface.
system_themes_form in modules/system/system.admin.inc
Menu callback; displays a listing of all themes.

File

modules/system/system.admin.inc, line 802
Admin page callbacks for the system module.

Code

function system_sort_modules_by_info_name($a, $b) {
  return strcasecmp($a->info['name'], $b->info['name']);
}