function path_admin_form_submit in Drupal 7
Same name and namespace in other branches
- 6 modules/path/path.admin.inc \path_admin_form_submit()
Form submission handler for path_admin_form().
See also
path_admin_form_delete_submit()
File
- modules/
path/ path.admin.inc, line 225 - 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';
}