Problem/Motivation
I was not able to replicate "Display analysis for all content types which has webform field." from #3014657: Allow to display analysis for all content types but
"Display analysis for each webform in the content type which has multiple webform fields." is supported by the core Webform module.
Proposed resolution
Use the \Drupal\webform\WebformRequest to determine the current requests webform and source entity.
I will also fix the webform node module to display the switch webform field drop down on the 'Analysis' tab.
Remaining tasks
- Write patch
- Review patch
- Commit patch
User interface changes
Switch webform field drop down on the 'Analysis' tab.
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | webform_analysis-3120286-7.patch | 619 bytes | batigolix |
| #2 | webform_analysis-3120286-2.patch | 613 bytes | jrockowitz |
| webform-analysis-node-multiple.png | 187.09 KB | jrockowitz |
Issue fork webform_analysis-3120286
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments
Comment #2
jrockowitz commentedComment #3
llewellyn.dawson commentedComment #4
llewellyn.dawson commentedTried to apply the patch and it did not work
Comment #5
llewellyn.dawson commentedComment #6
batigolixComment #7
batigolixI updated the patch so that it can be tested.
Comment #8
ankitv18 commentedCan we have a MR for this issue so that we the changes will pass all GitLab CI checks
Comment #9
batigolixThis has already been is addressed via another ticket
Comment #10
batigolix