book_remove_button_submit

Versions
6 – 7
book_remove_button_submit($form, &$form_state)

Button submit function to redirect to removal confirm form.

See also

book_outline_form()

Code

modules/book/book.pages.inc, line 145

<?php
function book_remove_button_submit($form, &$form_state) {
  $form_state['redirect'] = 'node/'. $form['#node']->nid .'/outline/remove';
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.