function shortcut_set_edit_form_submit
Submit handler for shortcut_set_edit_form().
File
-
modules/
shortcut/ shortcut.admin.inc, line 648
Code
function shortcut_set_edit_form_submit($form, &$form_state) {
$shortcut_set = $form_state['values']['shortcut_set'];
$shortcut_set->title = $form_state['values']['title'];
shortcut_set_save($shortcut_set);
drupal_set_message(t('Updated set name to %set-name.', array(
'%set-name' => $shortcut_set->title,
)));
$form_state['redirect'] = "admin/config/user-interface/shortcut/{$shortcut_set->set_name}";
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.