On this page
function book_admin_edit
book_admin_edit($form, $form_state, $node)
Form constructor for administering a single book's hierarchy.
Parameters
$node: The node of the top-level page in the book.
See also
Related topics
File
- modules/book/book.admin.inc, line 83
- Administration page callbacks for the Book module.
Code
function book_admin_edit($form, $form_state, $node) {
drupal_set_title($node->title);
$form['#node'] = $node;
_book_admin_table($node, $form);
$form['save'] = array(
'#type' => 'submit',
'#value' => t('Save book pages'),
);
return $form;
}
© 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.admin.inc/function/book_admin_edit/7.x