Module Description
Entity Group Field provides a computed field that can be configured on any entity types that are associated with Groups, allowing users with sufficient permissions to view group associations directly while viewing entities and to manage group associations while editing entities.
For example, it can be used on 'user' entities to manage group memberships while editing a user's profile, or to manage what groups a given node is associated with while editing the node. Without this, you have to go to the group page(s) to associate entities with groups.
This is a replacement for the "gcontent_field" submodule from the patch at #2813405: Add a field to view and edit content's groups. It now lives here as a standalone project with a new name, and includes many improvements (both in the UI and the code), test coverage, and more. There's no migration path yet, but help is welcome at #3151915: Migration path from gcontent_field to entitygroupfield
More documentation can be found in the README.md.
The 1.0.x branch only works with Group API version 1 (the 8.x-1.x series). The 2.0.x branch now supports both Group API versions 2 and 3. For now, 1.0.x is only compatible with Drupal 8 and 9. 2.0.x is compatible with Drupal 9 and 10.
Not yet stable. Not recommended for production.
See the known bugs.
Help welcome!
For example, it can be used on 'user' entities to manage group memberships while editing a user's profile, or to manage what groups a given node is associated with while editing the node. Without this, you have to go to the group page(s) to associate entities with groups.
This is a replacement for the "gcontent_field" submodule from the patch at #2813405: Add a field to view and edit content's groups. It now lives here as a standalone project with a new name, and includes many improvements (both in the UI and the code), test coverage, and more. There's no migration path yet, but help is welcome at #3151915: Migration path from gcontent_field to entitygroupfield
More documentation can be found in the README.md.
The 1.0.x branch only works with Group API version 1 (the 8.x-1.x series). The 2.0.x branch now supports both Group API versions 2 and 3. For now, 1.0.x is only compatible with Drupal 8 and 9. 2.0.x is compatible with Drupal 9 and 10.
Not yet stable. Not recommended for production.
See the known bugs.
Help welcome!
Module Link
Project Usage
957
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Entity Group Field provides a computed field for managing group associations directly on entity types associated with Groups, replacing the 'gcontent_field' submodule with improvements in UI, code, and test coverage.
Data Name
entitygroupfield