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.
Problem/Motivation
Preview should include the ability excluded elements.
Proposed resolution
Allow preview to excluded elements.
Remaining tasks
- Create webform.settings.preview_exclude_elements
- Update webform schema
- Update webform settings.
- Write update hooks
- Update preprocessors to support options.exclude_elements.
- template_preprocess_webform_preview()
- template_preprocess_webform_submission_html()
- template_preprocess_webform_submission_text()
- template_preprocess_webform_submission_table()
- Write tests
- Preview needs dedicated test
User interface changes
Adding excluded elements to webform preview settings
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#3 | allow_preview_to-2888615-2.patch | 97.27 KB | jrockowitz |
|
Comments
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented