function user_field_extra_fields
Implements hook_field_extra_fields().
File
-
modules/
user/ user.module, line 214
Code
function user_field_extra_fields() {
$return['user']['user'] = array(
'form' => array(
'account' => array(
'label' => t('User name and password'),
'description' => t('User module account form elements.'),
'weight' => -10,
),
'timezone' => array(
'label' => t('Timezone'),
'description' => t('User module timezone form element.'),
'weight' => 6,
),
),
'display' => array(
'summary' => array(
'label' => t('History'),
'description' => t('User module history view element.'),
'weight' => 5,
),
),
);
return $return;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.