You are here

function userpoints_field_extra_fields in User Points 7

Same name and namespace in other branches
  1. 7.2 userpoints.module \userpoints_field_extra_fields()

Implements hook_field_extra_fields().

File

./userpoints.module, line 1255

Code

function userpoints_field_extra_fields() {
  $extra['user']['user'] = array(
    'display' => array(
      'userpoints' => array(
        'label' => t('!Points', userpoints_translation()),
        'description' => t('!Points related information and actions.', userpoints_translation()),
        'weight' => 0,
      ),
    ),
  );
  return $extra;
}