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)

Button submit function to redirect to removal confirm form.

See also

book_outline_form()

1 string reference to 'book_remove_button_submit'
book_outline_form in drupal-6.x/modules/book/book.pages.inc
Build the form to handle all book outline operations via the outline tab.

File

drupal-6.x/modules/book/book.pages.inc, line 156
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';
}