Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Subentity

254 sites Security covered
View on drupal.org

The Subentity module allows you to create entities that are always attached to a parent entity, functioning similarly to how field collections worked in Drupal 7. You can define new subentity types and reference them from any parent entity using an entity reference field.

This module supports subentity, a kind of entity which does not exist independently, it always attaches to a parent entity.
Similar to field_collection in Drupal 7 but for Drupal 8+. Similar to paragraphs but not another paragraph_type.

To begin with, use the Drush generator:
drush generate subentity

This will create a new subentity type, the same way as drush generate content-entity but the new entity type is a subentity (it always is attached to a parent entity, so no new module is created).

You will be able to reference your subentity to any parent entity through entity_reference field type.

⚠️ Breaking changes

  • Since 3.0.0-rc3, there are changes about custom subentity type twig template definitions, please see this change record
  • Since 3.0.0-rc4, there are changes impacting CSS class naming for custom subentity type, please see this change record

Activity

Total releases
7
First release
Dec 2025
Latest release
1 week ago
Releases (12 mo)
7 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
3.0.0 Stable Jul 10, 2026
4.0.x-dev Dev Jul 10, 2026
3.0.x-dev Dev Jun 5, 2026
3.0.0-rc6 Pre-release Dec 19, 2025
3.0.0-rc5 Pre-release Dec 17, 2025
3.0.0-rc4 Pre-release Dec 12, 2025
3.0.0-rc3 Pre-release Dec 5, 2025