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
Comment #1
simon georges commentedClosing #1588914: hook_field_extra_fields() as a duplicate of this one.
Comment #2
jacob.embree commentedThere'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.