book_admin_edit($form_state, $node)
drupal/modules/book/book.admin.inc, line 71
Build the form to administrate the hierarchy of a single book.
@see book_admin_edit_submit()
| Name | Description |
|---|---|
| Form builder functions | Functions that build an abstract representation of a HTML form. |
function book_admin_edit($form_state, $node) {
drupal_set_title($node->title);
$form = array();
$form['#node'] = $node;
_book_admin_table($node, $form);
$form['save'] = array(
'#type' => 'submit',
'#value' => t('Save book pages'),
);
return $form;
}