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