Module Description
Allows the cardinality of specific config fields to be overridden. (Field instance cardinality for drupal 8)
If you want to reuse fields between bundles, field config cardinality will allows two fields, one single and one multiple, and saves the information in the same table in the database. This reduces the number of tables per field in the database.
Example: field_dates, it is possible to be multiple field on article content type, and reuse with single field on page content type, and the information is saved on same database table.
Drupal supports this, but there is no UI for it. This module acts as a shim to enable this granular control over cardinality.
If in testing you find a widget that is not supported, please check the active issues and create a new one if it has not already been reported.
Long term, it would be best to refactor based on #1029298-99: Allow cardinality to be restricted (overriden and reduced) in the field instance settings, but this has yet to be tested.
Similar modules Limited Field Widgets - Accomplishes the same net result, but allows customization per entity form mode vs bundle's the field configuration.
If you want to reuse fields between bundles, field config cardinality will allows two fields, one single and one multiple, and saves the information in the same table in the database. This reduces the number of tables per field in the database.
Example: field_dates, it is possible to be multiple field on article content type, and reuse with single field on page content type, and the information is saved on same database table.
Drupal supports this, but there is no UI for it. This module acts as a shim to enable this granular control over cardinality.
If in testing you find a widget that is not supported, please check the active issues and create a new one if it has not already been reported.
Long term, it would be best to refactor based on #1029298-99: Allow cardinality to be restricted (overriden and reduced) in the field instance settings, but this has yet to be tested.
Similar modules Limited Field Widgets - Accomplishes the same net result, but allows customization per entity form mode vs bundle's the field configuration.
Module Link
Project Usage
1059
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of overriding the cardinality of specific config fields, allowing for more granular control and reducing the number of tables per field in the database.
Data Name
field_config_cardinality