function system_sort_modules_by_info_name

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

4 string references to 'system_sort_modules_by_info_name'
AdminController::index in drupal/core/modules/system/lib/Drupal/system/Controller/AdminController.php
Prints a listing of admin tasks, organized by module.
system_modules in drupal/core/modules/system/system.admin.inc
Form constructor for the module enable/disable interface.
system_modules_uninstall in drupal/core/modules/system/system.admin.inc
Form constructor for the uninstalling disabled modules form.
system_themes_page in drupal/core/modules/system/system.admin.inc
Menu callback; displays a listing of all themes.

File

drupal/core/modules/system/system.admin.inc, line 912
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']);
}