function book_admin_edit

7.x book.admin.inc book_admin_edit($form, $form_state, $node)
6.x book.admin.inc book_admin_edit($form_state, $node)

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

See also

book_admin_edit_submit()

1 string reference to 'book_admin_edit'
book_menu in drupal-6.x/modules/book/book.module
Implementation of hook_menu().

File

drupal-6.x/modules/book/book.admin.inc, line 70
Admin page callbacks for the book module.

Code

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;
}