- the $op cannot be 'form' (never called)
- "validate": The user has just finished editing the comment and is trying to preview or submit it. This hook can be used to check or even modify the node. Errors should be set with form_set_error(). must be updated. It doesn;t update the 'node' or 'comment'.
- specify for $a1 when it is array or object....

Comments

webchick’s picture

Still an issue. Anyone with CVS access can update this. op form is missing in both 6.x and 7.x. not sure about the rest.

webchick’s picture

Component: Developer Guide » Documentation in CVS
Priority: Normal » Critical

And since it's API documentation that's wrong, thus wasting developers' time, marking critical.

Anonymous’s picture

Mark exactly what you want changed and I'll make the update and commit.

Anonymous’s picture

Assigned: Unassigned »
Status: Active » Postponed (maintainer needs more info)
betz’s picture

Project: Documentation » Drupal core
Version: » 7.x-dev
Component: Documentation in CVS » documentation

Changed the component to reflect the new component categorization. See http://drupal.org/node/301443

WallyJtD’s picture

[removed] - apologies, this deals with documentation alone... my issue is with the functionality

sun.core’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

hook_comment() doesn't exist anymore.