function _colors_users in Colors 7
1 string reference to '_colors_users'
- user_colors_info in includes/
user.colors.inc - Implements hook_colors_info().
File
- includes/
user.colors.inc, line 66 - Provides Color integration on behalf of user.module.
Code
function _colors_users() {
$users = entity_load('user');
$result = array();
foreach ($users as $user) {
if (!empty($user->name)) {
$result[$user->uid] = $user->name;
}
}
return $result;
}