user_field_extra_fields
function user_field_extra_fields
user_field_extra_fields()
Implements hook_field_extra_fields().
File
- modules/user/user.module, line 214
- Enables the user registration and login system.
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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!user!user.module/function/user_field_extra_fields/7.x