function book_remove_button_submit
7.x book.pages.inc | book_remove_button_submit($form, &$form_state) |
6.x book.pages.inc | book_remove_button_submit($form, &$form_state) |
Form submission handler for book_outline_form().
Redirects to removal confirmation form.
See also
1 string reference to 'book_remove_button_submit'
- book_outline_form in drupal-7.x/
modules/ book/ book.pages.inc - Form constructor for the book outline form.
File
- drupal-7.x/
modules/ book/ book.pages.inc, line 175 - User page callbacks for the book module.
Code
function book_remove_button_submit($form, &$form_state) {
$form_state['redirect'] = 'node/' . $form['#node']->nid . '/outline/remove';
}