function book_remove_button_submit

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!book!book.pages.inc/function/book_remove_button_submit/7.x