Hooks provided by the Comment module.

File

core/modules/comment/comment.api.php

Functions

Namesort descending Description
hook_comment_delete Respond to comment deletion.
hook_comment_insert Respond to creation of a new comment.
hook_comment_load Act on comments being loaded from the database.
hook_comment_predelete Act before comment deletion.
hook_comment_presave Act on a comment being inserted or updated.
hook_comment_publish Respond to a comment being published by a moderator.
hook_comment_unpublish Respond to a comment being unpublished by a moderator.
hook_comment_update Respond to updates to a comment.
hook_comment_view Act on a comment that is being assembled before rendering.
hook_comment_view_alter Alter the results of comment_view().