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;