Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Charts 5.2.4 Minor update available for module charts (5.2.4). Release: Tagify 2.0.3 Minor update available for module tagify (2.0.3). Release: Tagify 1.2.54 Minor update available for module tagify (1.2.54). Release: ECA: Event - Condition - Action 3.1.8 Minor update available for module eca (3.1.8). Release: GoogleTag Manager 2.0.5 Minor update available for module gtm (2.0.5). Release: GoogleTag Manager 2.0.4 Minor update available for module gtm (2.0.4). Release: X-Frame-Options Allow-From webvisor.com 2.0.4 Minor update available for module xframe_allow_webvisor (2.0.4). Release: Commerce ML Starter 2.0.5 Minor update available for module cmlstarter (2.0.5). Usage Milestone: Easy Email Module easy_email crossed 10,000 active installs. Security Coverage: Menu Link By Default Module menu_link_by_default now has official Drupal security advisory coverage.

Group relationship export

No security coverage Drupal 10–11

Part of the Group ecosystem · 52 projects

View on drupal.org

This module enhances the Drush site export command for sites using the Group module. It ensures group relationships are exported cleanly and portably by using UUIDs, while optionally excluding sensitive membership data. This helps in creating reusable site configurations without including user-specific information.

The Group Relationship Export module improves the drush site:export command for Drupal sites using the Group module.

It ensures that group relationships are exported cleanly by excluding sensitive membership data and correctly handling entity dependencies.

Features

  • Fixed group relationship dependency tracking: Fixes issues where referenced entities in group relationships were not correctly identified as dependencies during export.
  • UUID-based references: Ensures that exported group relationships use UUIDs instead of local IDs, making the exported content portable across different environments.
  • (Optional) Exclude memberships: Automatically prevents group_membership entities from being exported. This is for avoiding the inclusion of user data in reusable site recipes or default content. Assumption: You don't want to export the users and their relationships, only the group content and be able to start your site just with UID 1.

Post-Installation

Once installed, the module works automatically by subscribing to the pre-export events of the site:export command.

Optionally, you can de-activate the "Exclude memberships" feature on the module's config page (/admin/config/development/group-relationship-export).

Then simply run your standard Drush export command:

drush site:export

The module will intercept the process to apply the improvements to group-related data.

Additional Requirements

  • Group module (supports versions compatible with Group 3.x and 4.x).
  • Drupal Core 10.3 or higher.

There are no additional recommended modules at this time, but it is recommended to use this in conjunction with the Default Content or Recipes workflow where site:export is utilized, because otherwise you likely won't need it.

Depends on

Dependencies of the latest stable release

  • group Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jun 2026
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Jun 15, 2026