Hook into "add node to group"

Created on 10 July 2024, 11 months ago

Hi All,

I'm using Message + Flag, where users can subscribe to groups in order to receive email when new content added to group.
Any ideas how to hook into "node added to group" action? I've seen function tm_mymodule_group_content_presave(Drupal\group\Entity\GroupContent $entity), but it doesn't seem to work and looking at group.api.php there is only single hood defined.

Thanks

💬 Support request
Status

Active

Version

3.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024