Composite Field

Component ID

2866045

Component name

Composite Field

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The objective of this project is to build a field-based composite data type.

What is a composite data type? It's basically a field comprised of other fields.

The benefit of a field type is a more direct correlation to the entity it belongs to. This approach aligns composite functionality with standard field-based functionality.

Similar Solutions

  1. Paragraphs, Field Collections, and Beans make use of a separate entity that is decoupled from the base entity. This complicates logic with respect to the base entity.
  2. Field Group categorizes fields but is limited to nesting of a single set of fields. A group itself is not a field, but merely metadata of existing fields. It also does not support cardinality. This is challenging if you wish to have multiple instances of the same group.
  3. There are several Drupal 7 solutions that have varying mileage, as outlined on the Multifield page.