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_NODE_OPEN
Comments for this node are open.
15 uses of COMMENT_NODE_OPEN
CommentFormController::save
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
CommentFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::save
().
CommentInterfaceTest::testCommentInterface
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentInterfaceTest.php
Tests the comment interface.
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.
comment_form_node_type_form_alter
in drupal/
core/
modules/
comment/
comment.module
Implements
hook_form_FORM_ID_alter
().
... See full list
File
drupal/
core/
modules/
comment/
comment.module
, line 77
Enables users to comment on published content.
Code
const
COMMENT_NODE_OPEN
=
2
;