Skip to content

Instantly share code, notes, and snippets.

@chrissnyder2337
Created February 18, 2016 20:48
Show Gist options
  • Save chrissnyder2337/a0ebdf75149ccfc13584 to your computer and use it in GitHub Desktop.
Save chrissnyder2337/a0ebdf75149ccfc13584 to your computer and use it in GitHub Desktop.
  1. use hook_form_alter to modify $items['user/%user/edit']['page callback'] and add my call back.
  2. In the new callback, update to the user entity (and save it to the global $user). Then call the original drupal_get_form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment