second paragraph, second sentence reads: "When altering a node form, the node object retrieved at from $form['#node']."



What does "at from" mean?



Nobody, but Nobody, ever proof-reads this stuff.



"Pro Drupal 7 Development" is full of garbage like this... besides appearing to be mainly as set of notes from an over-experienced Drupal developer to himself. (waste of $)



Since Drupal seems to be mainly about having #tags to stuff in arrays, a list of "'reserved" tag names, and what action they represent/cause, would be maximally useful.

Comments

jhodgdon’s picture

Just a note: issue reports are more appreciated if they simply point out a problem rather than commenting like "full of garbage like this". Also, the Pro Drupal Development is not an official product of the Drupal all-volunteer documentation team, and proof-reading, like everything else in Drupal, is done by volunteers like yourself who notice problems and point them out. Hopefully, in a more pleasant manner.

That aside, there does appear to be a typo in the Drupal 6 docs for hook_form_alter. It should be changed to the D7 wording:

When altering a node form, the node object can be accessed at $form['#node'].

jhodgdon’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

I am cleaning up old 6.x documentation issues. At this point, we are not spending effort fixing them. Sorry.