You are here

function book_remove_button_submit in Drupal 7

Same name and namespace in other branches
  1. 6 modules/book/book.pages.inc \book_remove_button_submit()

Form submission handler for book_outline_form().

Redirects to removal confirmation form.

See also

book_outline_form_submit()

1 string reference to 'book_remove_button_submit'
book_outline_form in modules/book/book.pages.inc
Form constructor for the book outline form.

File

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