function stringoverrides_admin_word_sort in String Overrides 7
Same name and namespace in other branches
- 6 stringoverrides.admin.inc \stringoverrides_admin_word_sort()
Sorts two words based on their source text.
2 string references to 'stringoverrides_admin_word_sort'
- drush_stringoverrides_list in ./
stringoverrides.drush.inc - Drush Callback; Lists all the String Overrides.
- stringoverrides_admin in ./
stringoverrides.admin.inc - Menu callback for the String Overrides module to display its administration
File
- ./
stringoverrides.admin.inc, line 253 - Admin page callbacks for the String Overrides module.
Code
function stringoverrides_admin_word_sort($word1, $word2) {
return strcasecmp($word1['source'], $word2['source']);
}