function _devel_switch_user_list_cmp in Devel 7
Same name and namespace in other branches
- 6 devel.module \_devel_switch_user_list_cmp()
Comparison helper function for uasort() in devel_switch_user_list().
Sorts the Switch User links by the user's last access timestamp.
1 string reference to '_devel_switch_user_list_cmp'
- devel_switch_user_list in ./
devel.module - Provides the Switch user list.
File
- ./
devel.module, line 993 - This module holds functions useful for Drupal development.
Code
function _devel_switch_user_list_cmp($a, $b) {
return $b['last_access'] - $a['last_access'];
}