constant COMMENT_PUBLISHED

Comment is published.

26 uses of COMMENT_PUBLISHED
CommentAccessController::checkAccess in drupal/core/modules/comment/lib/Drupal/comment/CommentAccessController.php
Performs access checks.
CommentActionsTest::testCommentPublishUnpublishActions in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentActionsTest.php
Tests comment publish and unpublish actions.
CommentActionsTest::testCommentUnpublishByKeyword in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentActionsTest.php
Tests the unpublish comment by keyword action.
CommentCSSTest::testCommentClasses in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentCSSTest.php
Tests CSS classes on comments.
CommentFormController::form in drupal/core/modules/comment/lib/Drupal/comment/CommentFormController.php
Overrides Drupal\Core\Entity\EntityFormController::form().

... See full list

File

drupal/core/modules/comment/comment.module, line 27
Enables users to comment on published content.

Code

const COMMENT_PUBLISHED = 1;