book_admin_edit

Versions
4.7 – 5
book_admin_edit($nid)
6
book_admin_edit($form_state, $node)
7
book_admin_edit($form, $form_state, stdClass $node)

Build the form to administrate the hierarchy of a single book.

See also

book_admin_edit_submit()

Related topics

Code

modules/book/book.admin.inc, line 70

<?php
function book_admin_edit($form_state, $node) {
  drupal_set_title(check_plain($node->title));
  $form = array();
  $form['#node'] = $node;
  _book_admin_table($node, $form);
  $form['save'] = array(
    '#type' => 'submit',
    '#value' => t('Save book pages'),
  );
  return $form;
}
?>
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.