constant COMMENT_PUBLISHED

Comment is published.

23 uses of COMMENT_PUBLISHED
CommentActionsTest::testCommentPublishUnpublishActions in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentActionsTest.php
Tests comment publish and unpublish actions.
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().
CommentLinksTest::setEnvironment in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
Re-configures the environment, module settings, and user permissions.
CommentNewIndicatorTest::testCommentNewCommentsIndicator in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentNewIndicatorTest.php
Tests new comment marker.

... See full list

File

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

Code

const COMMENT_PUBLISHED = 1;