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.

Supporting organizations: 
Provided time for development
Provided time for development

Project information

Releases