function system_sort_modules_by_info_name
Same name in other branches
- 7.x modules/system/system.admin.inc \system_sort_modules_by_info_name()
- 9 core/modules/system/system.module \system_sort_modules_by_info_name()
Array sorting callback; sorts modules by their name.
4 string references to 'system_sort_modules_by_info_name'
- AdminController::index in core/
modules/ system/ src/ Controller/ AdminController.php - Prints a listing of admin tasks, organized by module.
- ModulesListForm::buildForm in core/
modules/ system/ src/ Form/ ModulesListForm.php - Form constructor.
- ModulesUninstallForm::buildForm in core/
modules/ system/ src/ Form/ ModulesUninstallForm.php - Form constructor.
- SystemController::themesPage in core/
modules/ system/ src/ Controller/ SystemController.php - Returns a theme listing.
File
-
core/
modules/ system/ system.module, line 1059
Code
function system_sort_modules_by_info_name($a, $b) {
return strcasecmp($a->info['name'], $b->info['name']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.