function flag_add_form_submit in Flag 6
Same name and namespace in other branches
- 5 includes/flag.admin.inc \flag_add_form_submit()
- 6.2 includes/flag.admin.inc \flag_add_form_submit()
- 7.3 includes/flag.admin.inc \flag_add_form_submit()
- 7.2 includes/flag.admin.inc \flag_add_form_submit()
File
- includes/
flag.admin.inc, line 158 - Contains administrative pages for creating, editing, and deleting flags.
Code
function flag_add_form_submit($form, &$form_state) {
$form_state['redirect'] = 'admin/build/flags/add/' . $form_state['values']['type'] . '/' . $form_state['values']['name'];
}