1.12.x book.pages.inc book_remove_button_submit($form, &$form_state)
1.10.x book.pages.inc book_remove_button_submit($form, &$form_state)
1.11.x book.pages.inc book_remove_button_submit($form, &$form_state)
1.7.x book.pages.inc book_remove_button_submit($form, &$form_state)
1.8.x book.pages.inc book_remove_button_submit($form, &$form_state)
1.9.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

book_outline_form_submit()

File

modules/book/book.pages.inc, line 96
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';
}