Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $items['account'] = array(
- 'title' => t('Account details'),
- 'page callback' => 'bxdev_user_user_profile_form',
- 'access arguments' => array('access content'),
- 'file path' => drupal_get_path('module','user'),
- 'file' => 'user.pages.inc',
- 'type' => MENU_CALLBACK,
- );
- function bxdev_user_user_profile_form(){
- global $user;
- $user_obj = user_load($user->uid);
- $form = drupal_get_form('user_profile_form', $user_obj);
- return drupal_render($form);
- }
Add Comment
Please, Sign In to add comment