function registration_state_form_submit in Entity Registration 8.2
Same name and namespace in other branches
- 8 includes/registration.forms.inc \registration_state_form_submit()
- 7.2 includes/registration.forms.inc \registration_state_form_submit()
- 7 includes/registration.forms.inc \registration_state_form_submit()
Form API submit callback for the type form.
File
- includes/
registration.forms.inc, line 1027 - Form definitions and callbacks for Registration.
Code
function registration_state_form_submit(&$form, &$form_state) {
$registration_state = entity_ui_form_submit_build_entity($form, $form_state);
$registration_state
->save();
$form_state['redirect'] = 'admin/structure/registration/registration_states';
}