Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
comment.module
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
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
;