This module integrates the Group module with Purl, enabling Group-based site contexts for views, content, and browsing. It allows Group context to be applied automatically to content and URLs within a group's path, and can filter views based on the active Group.
This module provides Purl plugins to support Group module.
With this module, it is easy to make a Group-based site that keeps the group context for views, adding content, and browsing through a group.
It provides plugins for:
- Group Provider -- Add the Group entity type to the Purl system
- Group Prefix Method -- Apply the group context to any path that begins with the matched Group prefix, but is not exactly the same -- this provides automatic context settings to nodes/content accessed via the group path, as well as rewriting all URLs on the page to prepend the group path.
- Group Context -- the main context provider that gets set when there's a match in Purl
- Views default_argument plugin -- automatically filter a view when the group context is active.
Dependencies:
- group-8.x-1.0-rc1 (or later)
- purl dev version from https://github.com/freelock/purl-d8 (was trying to support the efforts from ActiveLamp but they have gone dark...)
Configuration/Setup:
See the blog post.
Current status
The 3.x branch is updated for Group 3 and Drupal 11 support. The PURL module has several merge requests pending that will need to be applied that this module depends upon:
#3483727: Automated Drupal 11 compatibility fixes for purl - D11 and misc fixes -- required.
#2984482: Setting Purl Provider on Menu does nothing - Fix for group context on menu links
#3546298: Show modifiers on Modifiers page - Fix for PURL modifiers page -- useful info but optional
Right now tests are passing locally, but failing on Drupal.org because Purl does not have #3483727 in a release yet. Once we have passing tests I will publish a 3.0.0 version!
Depends on
Dependencies of the latest stable release
- Group ^2.0
- Persistent URL
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.2.1 | Stable | 9–11 | Group 2.x compatibility release | Jul 8, 2026 | |
| 3.0.0-beta2 | Pre-release | 10–11 | Drupal 11.4.0 compatibility | Jul 6, 2026 | |
| 2.2.x-dev | Dev | 9–11 | compatibility with Groups. 2.x | Jun 17, 2026 | |
| 3.0.0-beta1 | Pre-release | 10–11 | Feb 6, 2026 | ||
| 3.0.x-dev | Dev | 10–11 | group:3 compatibility | Sep 6, 2025 | |
| 2.0.3-alpha1 | Pre-release | 9–11 | D11! | Jan 21, 2025 | |
| 2.0.2-alpha1 | Pre-release | 9–11 | D11! | Jan 21, 2025 | |
| 2.0.2 | Stable | 9–10 | Jan 21, 2025 | ||
| 2.0.1 | Stable | 9–10 | Updates for Drupal 10 and code style | Oct 2, 2024 |