Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Being able to add the Webform entity type to Group module groups would be a great feature. Although this may be better as a separate module for the short term. At least until this issue has been resolved: #777578: Add an entity query access API and deprecate hook_query_ENTITY_TYPE_access_alter()
Related:
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI am not sure the Webform module will play nice with the Group module because Webforms are config entity and I am going to assume that the Group module works with only content entities.
Comment #3
imclean CreditAttribution: imclean commentedGood point, I think it is geared towards content only. Adding config entities to groups could be useful.
In https://www.drupal.org/node/777578#comment-10991373 kristiaanvandeneynde asks:
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI don't think Config entities could handle access grants.
The Webform entity does implement the EntityOwnerInterface.
Comment #5
ericras CreditAttribution: ericras commentedComment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThis feature should be handled in a separate contrib module.
Comment #8
electrokate CreditAttribution: electrokate commentedHi @jrockowittz! Do you know whether this issue has been solved by the patch mentioned in #5? I am able to attach a webform to a group content node, but a strange thing happens. My form follows your event registration example. After registering, no results show in the group content "results" tab, but they DO show up in the main webform menu results tab. (And they show up on non-group content results tab) Also when using the form through a group content node, the confirmation message does not render, but rather shows the token "[webform_submission:node:field_reg_message]". I have tried the latest patch from #5 but it doesn't change anything. My question is, is this still a feature that will require a separate contrib module? Or should that patch be fixing it?