Don't require source entity type to be specified in querystring if it is configured

Created on 2 August 2023, almost 2 years ago

Problem/Motivation

There is a webform setting "Type of source entity to be populated using query string parameters" giving the setting 'form_prepopulate_source_entity_type'.

But even if you use that to specify the type of source entity, you still have to specify the entity type in the query string using the 'source_entity_type' parameter. This is unnecessary.

Proposed resolution

Change QueryStringWebformSourceEntity to make use of $webform->getSetting('form_prepopulate_source_entity_type') if the source entity type is not explicitly specified in the querystring.

Remaining tasks

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Active

Version

6.2

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom jonathanshaw Stroud, UK

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024