The node comment status indicator.
COMMENT_NODE_HIDDEN => no comments
COMMENT_NODE_CLOSED => comments are read-only
COMMENT_NODE_OPEN => open (read/write)
Type: integer
File
- drupal/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php, line 152
- Definition of Drupal\node\Plugin\Core\Entity\Node.
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\Plugin\Core\Entity
Code
public $comment;