Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm building custom forms based on register form, that's why need to fire up alters manually. In current version I have to do something like this:
email_registration_form_user_register_form_alter($form, $form_state['object'], 'user_register_form');
though it's better to get rid of 3d variabe $form_id which is useless of hook_form_FORM_ID_alter:
email_registration_form_user_register_form_alter($form, $form_state['object']);
Comment | File | Size | Author |
---|---|---|---|
#1 | email-registration-1808366-1.patch | 2.01 KB | cr0ss |
Comments
Comment #1
cr0ss CreditAttribution: cr0ss commentedPatch attached.
Comment #2
gregglesLooks good to me.
Better status.
Comment #3
gregglesNow committed - http://drupalcode.org/project/email_registration.git/commit/259f498
Thanks, cr0ss!