diff --git a/core/modules/comment/lib/Drupal/comment/Comment.php b/core/modules/comment/lib/Drupal/comment/Comment.php index cce2a98..6b4658c 100644 --- a/core/modules/comment/lib/Drupal/comment/Comment.php +++ b/core/modules/comment/lib/Drupal/comment/Comment.php @@ -97,6 +97,55 @@ class Comment extends EntityNG implements ContentEntityInterface { public $homepage; /** + * The comment author's hostname. + * + * @var \Drupal\Core\Entity\Field\FieldInterface + */ + public $hostname; + + /** + * The time that the comment was created. + * + * @var \Drupal\Core\Entity\Field\FieldInterface + */ + public $created; + + /** + * The time that the comment was last edited. + * + * @var \Drupal\Core\Entity\Field\FieldInterface + */ + public $changed; + + /** + * A boolean field indicating whether the comment is published. + * + * @var \Drupal\Core\Entity\Field\FieldInterface + */ + public $status; + + /** + * The alphadecimal representation of the comment's place in a thread. + * + * @var \Drupal\Core\Entity\Field\FieldInterface + */ + public $thread; + + /** + * The comment node type. + * + * @var \Drupal\Core\Entity\Field\FieldInterface + */ + public $node_type; + + /** + * The comment 'new' marker for the current user. + * + * @var \Drupal\Core\Entity\Field\FieldInterface + */ + public $new; + + /** * The plain data values of the contained properties. * * Define some default values used. @@ -132,6 +181,13 @@ protected function init() { unset($this->name); unset($this->mail); unset($this->homepage); + unset($this->hostname); + unset($this->created); + unset($this->changed); + unset($this->status); + unset($this->thread); + unset($this->node_type); + unset($this->new); } /**