Drupal is a registered trademark of Dries Buytaert
cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.15 Minor update available for module linkit (7.0.15). views_data_export 8.x-1.10 Minor update available for module views_data_export (8.x-1.10).

group_finder

58 sites No security coverage
View on drupal.org

This module is an API module that allows you to find Group in different scenarios.

Predefined finders:

  • Create new group: Group from create group route (dummy group).
  • Group by content: Group from grouped content. It returns the first group. However, you can override it in case you would like to to return a group other than the first.
  • Group route: Group from a group route.
  • Group URL query: Group from the URL query (?group=x)

Features:

  • Find group in different contexts other than the group route.
  • Alter/Override predefined finders according to your needs. For example you could change the weight (the higher the number, the later the founder is being called) for the predefined finders.
  • Create your own finders.
  • Provides a plugin context for group finder.

How to use in your custom code:

/** @var \Drupal\group_finder\GroupFinderInterface $group_finder */
$group_finder = \Drupal::service('group_finder.provider')->get();
$group = $group_finder?->getGroup();

Used by:
This module is used by Group Media Library module.

Activity

Total releases
1
First release
May 2026
Latest release
3 days ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
2.1.0-alpha1 Pre-release May 18, 2026