function book_remove_button_submit in Drupal 6
Same name and namespace in other branches
- 7 modules/book/book.pages.inc \book_remove_button_submit()
Button submit function to redirect to removal confirm form.
See also
1 string reference to 'book_remove_button_submit'
- book_outline_form in modules/
book/ book.pages.inc - Build the form to handle all book outline operations via the outline tab.
File
- 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';
}