Compound Field Alpha Brings Composable Fields to Drupal 11

“Composable Fields Come to Drupal 11.” “Existing Field Types Can Be Grouped Without Creating Separate Child Entities.” Lullabot logo and a portrait labeled “Mateu Aguiló Bosch.”

Site builders working with Drupal 11.4 and later can now test a new approach to grouping existing field types without creating separate child entities for each value. The Compound Field module released 1.0.0-alpha1 on 16 September 2026 and allows compound fields to be configured through Drupal's existing Field UI. Module maintainer Mateu Aguiló Bosch describes the approach as suited to non-reusable micro-content whose related values can remain within the host field.

Each sub-field remains an instance of its original Drupal field-type plugin, retaining that plugin's storage schema, widget, formatter and validation. Its values are stored as columns in the host entity's field table, and compound fields can themselves contain nested compounds whose values are flattened into the same row. Mateu presents that model as an alternative to using referenced entities such as Paragraphs for some kinds of non-reusable micro-content, avoiding the additional entities and revisions those models introduce. He also says the plugin-based design allows existing and future field types to participate without Compound Field implementing separate support for each one.

The storage model also creates limits that site builders need to account for. Sub-fields require finite cardinality because each possible value maps to database columns, and changing the structure of a compound after content exists can remove stored data. Removing a sub-field or reducing its cardinality can delete values from current and historical revisions, so structural changes need backups and testing before they are applied to populated fields. The module also includes integrations with Views, Layout Builder, JSON:API, core Migrate and Drush, along with tooling for converting selected existing content models.

Compound Field follows earlier work by Lee Rowlands on Field Union and sits within a longer history of Drupal projects attempting to group related field values without always promoting them to standalone entities. Mateu also used the module to test an AI-assisted development workflow: he says AI agents wrote the code while he prepared plans, reviewed diffs, rejected unsuitable changes and ran tests using Strikethroo, Sift, Kenkeep and Self-review. Lullabot sponsored his development time. Compound Field remains an alpha project, and Mateu provides the fuller technical walkthrough, storage examples and development account in I made my AI harness build a killer feature in Drupal.

Disclosure: This content is produced with the assistance of AI.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Upcoming Events

Latest Opportunities