Invite statistics not view in admin/config/people/accounts/display page.

/**
 * Implements hook_field_extra_fields().
 */
function invite_field_extra_fields() {
  $return['user']['user'] = array(
    'display' => array(
      'invite_stats' => array(
        'label' => t('Invite statis'), 
        'description' => t('Invite statis'), 
        'weight' => 5,
      ),
    ),
  ); 
  return $return;
}

Comments

simon georges’s picture

Closing #1588914: hook_field_extra_fields() as a duplicate of this one.

jacob.embree’s picture

Version: 7.x-2.1-beta2 » 7.x-4.x-dev
Issue summary: View changes
Status: Active » Closed (won't fix)

There's not enough information here. There's no mention of "stats" or "statistics" anywhere else in the module. Please reopen if I've misunderstood, but I see no need to use hook_field_extra_fields() to make it possible to configure something as visible that does not exist.