we have the following comment in the code:

/**
 * Implementation of hook_form_alter(). Adds the book fieldset to the node form.
 *
 * @see book_pick_book_submit()
 * @see book_submit()
 */
function book_form_alter(&$form, $form_state, $form_id) {

the problem is that neither book_pick_book_submit() nor book_submit() seem to exist.

The references were added in revision 1.429, as part of pwolanin's mega book patch, but removed with this issue: http://drupal.org/node/160039

It may not be enough to remove the two lines of comment. Maybe the documentation that was part of the removed issues should be put back instead.

CommentFileSizeAuthor
#2 234684-block_form_alter-docs.patch448 bytesdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mr.baileys’s picture

Version: 6.x-dev » 7.x-dev
Component: book.module » user interface text

This is still an issue for the d7 docs, moving to the documentation queue.

dawehner’s picture

Status: Active » Needs review
FileSize
448 bytes
 * Adds the book fieldset to the node form.

This describes what the function does

Status: Needs review » Needs work

The last submitted patch, 234684-block_form_alter-docs.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review

#2: 234684-block_form_alter-docs.patch queued for re-testing.

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.