function 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
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';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.