Change record status: 
Project: 
Introduced in branch: 
12.0.x
Introduced in version: 
12.0.0
Description: 

A new config schema constraint has been added: NoFieldItemsExistWithHigherCardinality. This constraint checks that cardinality of a field is not set lower than the maximum delta of items for the field on any entity.

First used in core in field.schema.yml:

      constraints:
        NoFieldItemsExistWithHigherCardinality:
          entityType: '%parent.entity_type'
          fieldName: '%parent.field_name'
Impacts: 
Module developers