The ID of the node to which the comment is attached.
File
- drupal/core/modules/comment/lib/Drupal/comment/Plugin/Core/Entity/Comment.php, line 72
- Definition of Drupal\comment\Plugin\Core\Entity\Comment.
Class
- Comment
- Defines the comment entity class.
Namespace
Drupal\comment\Plugin\Core\Entity
Code
public $nid;