Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / comment / src / Plugin / Field / FieldType / CommentItem.php
index e3fd2b060eb937f16754e22376ddc00d7e3671cc..3fd0cda57c9c47969fdcf10f9936e960f1195fa6 100644 (file)
@@ -21,7 +21,8 @@ use Drupal\Core\Session\AnonymousUserSession;
  *   description = @Translation("This field manages configuration and presentation of comments on an entity."),
  *   list_class = "\Drupal\comment\CommentFieldItemList",
  *   default_widget = "comment_default",
- *   default_formatter = "comment_default"
+ *   default_formatter = "comment_default",
+ *   cardinality = 1,
  * )
  */
 class CommentItem extends FieldItemBase implements CommentItemInterface {