summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2014-06-13 14:25:14 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2014-06-13 14:25:14 -0700
commitaeb6f56ad902569bb888808bea2650a246e7231b (patch)
tree48e9efc3ce20567b5907ce53e9a4137485433484 /modules/system
parent40ddf514c00b71325bdb418ade624f570e1ed8de (diff)
downloadbrdo-aeb6f56ad902569bb888808bea2650a246e7231b.tar.gz
brdo-aeb6f56ad902569bb888808bea2650a246e7231b.tar.bz2
Issue #2248799 by amitgoyal, c31ck, Wim Leers: Fix docs for system_sort_themes
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index c1e81f0bb..b6f67890d 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -950,7 +950,11 @@ function system_sort_modules_by_info_name($a, $b) {
}
/**
- * Array sorting callback; sorts modules or themes by their name.
+ * Sorts themes by their names, with the default theme listed first.
+ *
+ * Callback for uasort() within system_themes_page().
+ *
+ * @see system_sort_modules_by_info_name().
*/
function system_sort_themes($a, $b) {
if ($a->is_default) {