The ID of the node to which the comment is attached.

Type: integer

File

core/modules/comment/comment.entity.inc, line 31
Entity controller and class for comments.

Class

Comment
Defines the comment entity class.

Code

public $nid;