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.

This module links content entities, like nodes or taxonomy terms, to groups. When a group is created, a corresponding content entity is automatically generated and linked to it. This setup allows you to manage complex access rules through groups while keeping editorial content separate.

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
8 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

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