Hooks provided by the Comment module.
Name![]() |
Description |
---|---|
hook_comment_delete | The comment is being deleted by the moderator. |
hook_comment_insert | The comment is being inserted. |
hook_comment_load | Comments are being loaded from the database. |
hook_comment_presave | The comment passed validation and is about to be saved. |
hook_comment_publish | The comment is being published by the moderator. |
hook_comment_unpublish | The comment is being unpublished by the moderator. |
hook_comment_update | The comment is being updated. |
hook_comment_view | The comment is being viewed. This hook can be used to add additional data to the comment before theming. |
hook_comment_view_alter | The comment was built; the module may modify the structured content. |