function system_sort_modules_by_info_name in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 1109 - Configuration system that lets administrators modify the workings of the site.
Code
function system_sort_modules_by_info_name($a, $b) {
return strcasecmp($a->info['name'], $b->info['name']);
}