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)

Form constructor for administering a single book's hierarchy.

Parameters

$node: The node of the top-level page in the book.

See also

book_admin_edit_submit()

book_admin_edit_validate()

Related topics

1 string reference to 'book_admin_edit'
book_menu in drupal-7.x/modules/book/book.module
Implements hook_menu().

File

drupal-7.x/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;
}