function book_admin_edit
Same name and namespace in other branches
- 6.x drupal-6.x/modules/book/book.admin.inc \book_admin_edit()
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
1 string reference to 'book_admin_edit'
- book_menu in drupal-7.x/
modules/ book/ book.module - Implements hook_menu().
Archivo
- drupal-7.x/
modules/ book/ book.admin.inc, line 83 - Administration page callbacks for the Book module.
Código
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;
}