You are here

function _book_helper_outline_submit in Book helper 7

2 calls to _book_helper_outline_submit()
book_helper_admin_edit_submit in ./book_helper.admin.inc
Handle submission of the book administrative page form.
book_helper_outline_submit in ./book_helper.module

File

./book_helper.module, line 346
Improves Drupal's core book module's functionality.

Code

function _book_helper_outline_submit($node) {

  // Update the standard book outline.
  _book_update_outline($node);

  // Update the menu link title override.
  book_helper_node_update($node);

  // Clear the menu cache (as advised after invoking menu_link_save(), which is done indirectly above).
  menu_cache_clear_all();
}