X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FPlugin%2FField%2FFieldType%2FCommentItem.php;fp=web%2Fcore%2Fmodules%2Fcomment%2Fsrc%2FPlugin%2FField%2FFieldType%2FCommentItem.php;h=3fd0cda57c9c47969fdcf10f9936e960f1195fa6;hp=e3fd2b060eb937f16754e22376ddc00d7e3671cc;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php b/web/core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php index e3fd2b060..3fd0cda57 100644 --- a/web/core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php +++ b/web/core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php @@ -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 {