Entity Group Field (lite)
4 sites
No security coverage
This module provides fields to associate content with specific group types, creating separate fields for each group relationship. It offers a simple select list widget that automatically simplifies to a checkbox when only one group is available, and it can be used when you need distinct fields for different group types without AJAX.
Entity Group Field (lite)
Introduction
This module does the same thing as Entity Group Field, of which it is heavily inspired, but follows a slightly different approach.
Features
This module provides a field for each defined "group - content" relationship.
For example if a user can be a member of two group types A and B you can have two fields in the user edit form, one for each group type.
- You can separately enable any of those two fields in the entity edit form.
- This module ships with a widget "Group select list" which is a simple select list.
- You can customize the displayed label of the widget for better usability and understanding.
- The select widget will automatically transform into a single checkbox if only one group is selectable.
- The widget supports multiple relationships.
- etc...
When to use this module
- You want to have a simple select widget (with no ajax) to select the group to attach your content to.
- You have too many defined group types and/or you want to have a different field for each group type.
- You want to use a simple on/off checkbox to attach your content to a group that is unique on your project (say a private section)
When NOT to use this module
- Your group relationships has fields that have to be set when adding your content to a group.
Configuration
- On your entity form display enable the computed group field you want to expose.
- Choose the included widget "Group select list".
Requirements
The only requirements are :
- Group (v3)
- Form Options Attributes used to disable non selectable options.