Same name and namespace in other branches
  1. 4.7.x modules/comment.module \COMMENT_PUBLISHED
  2. 5.x modules/comment/comment.module \COMMENT_PUBLISHED
  3. 7.x modules/comment/comment.module \COMMENT_PUBLISHED

Comment is published.

12 uses of COMMENT_PUBLISHED
comment_access in modules/comment/comment.module
This is *not* a hook_access() implementation. This function is called to determine whether the current user has access to a particular comment.
comment_admin_overview in modules/comment/comment.admin.inc
Form builder; Builds the comment overview form for the admin.
comment_form_add_preview in modules/comment/comment.module
Form builder; Generate and validate a comment preview form.
comment_get_recent in modules/comment/comment.module
Find a number of recent comments. This is done in two steps. 1. Find the n (specified by $number) nodes that have the most recent comments. This is done by querying node_comment_statistics which has an index on last_comment_timestamp, and is thus a…
comment_num_new in modules/comment/comment.module
Get number of new comments for current user and specified node.

... See full list

File

modules/comment/comment.module, line 15
Enables users to comment on published content.

Code

define('COMMENT_PUBLISHED', 0);