Drupal is a registered trademark of Dries Buytaert

Group linked entity

Introduction

The idea behind this module is to have a content entity (a node most likely) bound to a group.
The content entity holds all the editorial content that you may want to have and group handles the complex acces rules that your project needs.
You can now benefit from the countless possibilities and additions that these two modules offer.

Some assumptions

- Links are "one to one" : meaning a group is linked to only one content entity.
- For now only nodes and taxonomy terms are supported (i cannot think of another usecase, additions are welcome though)

Configuration

On your group type form, define a content type to be used for the linking entity :

Under the hood

  • For each created group, a content entity will be created and attached to that group.
  • When a group is deleted, its corresponding entity is deleted.
  • Links are 1 to 1, meaning a group is linked to only one content entity
  • An entity is linked to only one group.
  • A boolean field is added to the group_relationship between the group and the entity.
  • This field, when set, indicates that the relation is the link.
  • A helper service containing various useful methods is included.
  • On the group entity, an entity reference field (computed) that links to the content entity is added.
  • On the content entity, an entity reference field (computed) that links to the group is added.
  • Those two fields are regular computed fields so they are discoverable by token and search_api for example

Requirements

The only requirements are :

  • Group
  • Node or Taxonomy

Maintainers

Current maintainers for Drupal 10 / 11:

Activity

Total releases
2
First release
Jun 2025
Latest release
4 months ago
Release cadence
148 days
Stability
0% stable

Releases

Version Type Release date
1.x-dev Dev Oct 27, 2025
1.0.0-beta1 Pre-release Jun 1, 2025