1 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
- core/
modules/ path/ path.admin.inc, line 247 - Admin 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']);
backdrop_set_message(t('The alias has been saved.'));
$form_state['redirect'] = 'admin/config/urls/path';
}