function path_admin_form_submit
7.x path.admin.inc | path_admin_form_submit($form, &$form_state) |
6.x path.admin.inc | path_admin_form_submit($form, &$form_state) |
Form submission handler for path_admin_form().
See also
path_admin_form_delete_submit()
File
- drupal-7.x/
modules/ path/ path.admin.inc, line 221 - Administrative page callbacks for the path module.
Code
function path_admin_form_submit($form, &$form_state) {
// Remove unnecessary values.
form_state_values_clean($form_state);
path_save($form_state['values']);
drupal_set_message(t('The alias has been saved.'));
$form_state['redirect'] = 'admin/config/search/path';
}