You are here

function finder_user_finder_fields in Finder 6

Same name and namespace in other branches
  1. 7 modules/finder_user/finder_user.module \finder_user_finder_fields()

Implementation of hook_finder_fields().

See also

hook_finder_fields()

File

modules/finder_user/finder_user.module, line 98
The finder user module.

Code

function finder_user_finder_fields($finder, $finder_element_id) {

  // specify fields like: 'table.field-name' => t('display title')
  $prefix = t('User') . ': ';
  $field_array = array(
    'users.uid' => $prefix . t('Uid'),
    'users.name' => $prefix . t('Name'),
    'users.mail' => $prefix . t('Mail'),
    'role.role' => $prefix . t('Role'),
  );
  return $field_array;
}