You are here

function realname_field_extra_fields in Real Name 7

Implements hook_field_extra_fields().

File

./realname.module, line 84
Provides token-based name displays for users.

Code

function realname_field_extra_fields() {
  $fields['user']['user']['display']['realname'] = array(
    'label' => t('Real name'),
    'description' => t('Real name'),
    'weight' => -1,
  );
  return $fields;
}