You are here

function book_admin_edit in Drupal 6

Same name and namespace in other branches
  1. 4 modules/book.module \book_admin_edit()
  2. 5 modules/book/book.module \book_admin_edit()
  3. 7 modules/book/book.admin.inc \book_admin_edit()

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 modules/book/book.module
Implementation of hook_menu().

File

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