Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function send_xml_form_user_profile_form_alter(&$form, &$form_state){
- $form["#submit"][] = 'send_xml_edit_account_submit_function';
- drupal_set_message('<pre>' . print_r($form['#submit'], TRUE) . '</pre>');
- }
- function send_xml_edit_account_submit_function($form, &$form_state) {
- drupal_set_message(t("ahoy"));
- }
- Array
- (
- [0] => user_profile_form_submit
- [1] => send_xml_edit_account_submit_function
- )
- function hook_form_FORM_ID_alter(&$form, &$form_state, $form_id) {
- // your code
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement