diff --git a/core/modules/comment/lib/Drupal/comment/Type/CommentItem.php b/core/modules/comment/lib/Drupal/comment/Type/CommentItem.php index 8a5d616..642b5d3 100644 --- a/core/modules/comment/lib/Drupal/comment/Type/CommentItem.php +++ b/core/modules/comment/lib/Drupal/comment/Type/CommentItem.php @@ -32,6 +32,7 @@ public function getPropertyDefinitions() { static::$propertyDefinitions['status'] = array( 'type' => 'integer', 'label' => t('Comment status value'), + 'settings' => array('default_value' => COMMENT_OPEN), ); } return static::$propertyDefinitions;