X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FField%2FAnnotation%2FFieldType.php;h=8bf54cb585db9f28c57cd1039a4f29ed4eaef1bb;hb=refs%2Fheads%2Fd864;hp=de42c80ffcf79621a8b992fd71378cd6ddd76864;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Field/Annotation/FieldType.php b/web/core/lib/Drupal/Core/Field/Annotation/FieldType.php index de42c80ff..8bf54cb58 100644 --- a/web/core/lib/Drupal/Core/Field/Annotation/FieldType.php +++ b/web/core/lib/Drupal/Core/Field/Annotation/FieldType.php @@ -91,4 +91,13 @@ class FieldType extends DataType { */ public $list_class; + /** + * An integer defining a fixed cardinality for this field type. + * + * If this value is not set, cardinality can be configured in the field UI. + * + * @var int|null + */ + public $cardinality; + }