I have a module that I want to use to display a modified version of one of Drupal 7's default forms. I believe the form ID is user_profile_form
and it is the form used to edit a user's account information.
So this is the structure of my module:
- hook_menu with a page callback to a function -->
user_exe_edit()
--> - function
user_exe_edit()
callsdrupal_get_form(input_simple_form)
--> - function
input_simple_form($form, &$form_submit)
Now I need the function input_simple_form
to return the Drupal form with id user_profile_form
.
How do I do that?