function book_form_update

book_form_update($form, $form_state)

Renders a new parent page select element when the book selection changes.

This function is called via Ajax when the selected book is changed on a node or book outline form.

Return value

The rendered parent page select element.

File

modules/book/book.module, line 609
Allows users to create and organize related content in an outline.

Code

function book_form_update($form, $form_state) {
  return $form['book']['plid'];
}

© 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.module/function/book_form_update/7.x