This module allows comments to be associated with groups. When a comment is posted on a group or a group-related entity, it is automatically linked to the relevant group(s). The module also supports managing comment permissions and approvals at the group level.
This module is designed to associate group specific comment with a group when
using the Group module.
IMPORTANT!
For the module to work, you should patch core with patch in #2879087: Use comment access handler instead of hardcoding permissions
For Drupal 9, use the patch (2879087-130-9.3.x.patch) in #130
For Drupal 10, use the patch in #137
For Drupal 11, use the patch in #170
FEATURES
- Supports posting comments and (updating, deleting) any/own comments per
comment type. - A comment posted in a commentable group, will automatically become an entity of the group itself.
- A comment posted in a commentable grouped entity, will automatically become an entity of every group the grouped entity belongs to.
- When removing the relation of a commentable entity from a group, comments belong to the entity will automatically be detached from the group.
- Support 'skip comment approval' on the group level per comment type.
REQUIREMENTS
- Group module (https://drupal.org/project/group), See release notes for supported group module version.
- Comment module in core.
INSTALLATION
Install the Group comment module as you would normally install a contributed
Drupal module. Visit https://www.drupal.org/node/1897420 for further
information.
CUSTOMIZE
As comments are automatically added to groups, the module allows you to alter
the groups by using hook_group_comment_attach_groups_alter.