You are here

function finder_user_finder_fields in Finder 7

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

Implements hook_finder_fields().

See also

hook_finder_fields()

File

modules/finder_user/finder_user.module, line 99
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;
}