Closed (won't fix)
Project:
Webform Element Rendered Entity
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2024 at 08:35 UTC
Updated:
20 Aug 2024 at 14:00 UTC
Jump to comment: Most recent
Hi @jhuhta we just ran into a similar requirement for webform to have a rendered entity selected (in our case disabled as URL-prepopulated value).
Are you planning to make this a stable module release?
If you'd be interested, I'd like to offer my help as (Co-)maintainer. See my profile for references.
Comments
Comment #2
anybodyPS: As title I'd propose "Webform Element Rendered Entity Select" (webform_element_rendered_entity_select)?
Comment #3
jhuhta commentedHi @Anybody and thanks for asking! I'd gladly make this a real module and add you as a co-maintainer. But why the rename? This is not about a select element (such as ie. those term select elements) but just to show an entity on the form.
By the way this module looks a lot like https://www.drupal.org/project/webform_entity_view (which didn't exist when I originally wrote this) by its description, but is this one more suitable for your needs?
Comment #4
anybodyThank you very much for the quick feedback @jhuhta. You're right, https://www.drupal.org/project/webform_entity_view is very very similar and should be put on the module page here. I think it replaces this module indeed.
I got the functionality of this module wrong, just had a try and both modules don't fit my use-case. I need an entity select (checkboxes) which renders the entity in a selected view mode, instead of rendering a selected entity.
That was the reason for my suggested name change. So I think we could close this and maybe mark this wonderful module deprecated?
Comment #5
jhuhta commentedOk, case closed then, a full release won't be done. I'll deprecate this one when I have time to replace it myself from a live project.
For the entity select need if yours, I'm quite sure there's a module for that, too, and if not, it's not difficult for you to write one.
Comment #6
anybodyThanks @jhuhta yes that's the plan. Indeed I did NOT find a module solving that... I also can't believe it...
Comment #7
anybodyUpdate: I found it ... #3469200: Allow to use rendered entities (in selected view mode) as webform entity checkboxes / radios options
It's built in, but works differently from what I expected and I didn't see it -.-