Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Computed relationships

No security coverage Under active development

Computed relationships allow you to define connections between different content entities using computed fields. This means you can automatically link related content without needing to manually set up reference fields, simplifying content management and improving data consistency. The module also supports integration with JSON:API for seamless data exchange.

Computed relationships allow you to define relationships between different content entities. The JSON:API module is supported.

This is achieved by means of computed fields that are defined at entity level, leaving a later configuration to define in which bundles of the selected entity they should be shown.

Imagine the use case where you need to attach X number of entities when any node of the same content type is requested. You would need to set an entity_reference field with a default value so that whenever a content is created, those contents are attached. With Computed relationships you only need to specify the dependency between entities, the fields will be created automatically.

The configuration of computed fields for JSON:API through the jsonapi_extras module is done automatically if the configuration exists previously.

Once the module is activated, you only need to start defining the relationships to be represented together with the entity.

Ask your assistant about Computed relationships

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Jun 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta5 Pre-release 9–11 Nov 19, 2024
1.0.0-beta4 Pre-release 9–10 Jun 10, 2024
1.0.0-beta3 Pre-release 9–10 Jun 6, 2024
1.0.0-beta2 Pre-release 9–10 Jun 5, 2024
1.0.x-dev Dev 9–11 Jun 4, 2024
1.0.0-beta1 Pre-release 9–10 Jun 4, 2024