1.20.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';
}