constant COMMENT_NOT_PUBLISHED

Comment is awaiting approval.

15 uses of COMMENT_NOT_PUBLISHED
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().
CommentFormController::save in drupal/core/modules/comment/lib/Drupal/comment/CommentFormController.php
Overrides Drupal\Core\Entity\EntityFormController::save().

... See full list

File

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

Code

const COMMENT_NOT_PUBLISHED = 0;