Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Set cardinality (max values) AND a required # values per field instance instead of per field everywhere.
For instance
- field_book in article has cardinality = 1
- field_book in thesis has cardinality = unlimited and required # values = 6
- field_book in user has cardinality = 2 and required # values = 2
This module requires a core patch. Details in #1029298: Allow cardinality to be restricted (overriden and reduced) in the field instance settings
Related, but (slightly) different:
- https://www.drupal.org/sandbox/ciss/2303057 (no UI & doesn't work?)
- https://www.drupal.org/project/field_instance_cardinality (only 2 widgets, only cardinality = 1)
Project information
- Module categories: Site Structure
- Created by rudiedirkx on , updated