Skip to content
Snippets Groups Projects
Commit 79187731 authored by Jacob Rockowitz's avatar Jacob Rockowitz
Browse files

Revert "Issue #3321630 by jeffam: share.js incorrectly caches webforms with...

Revert "Issue #3321630 by jeffam: share.js incorrectly caches webforms with specific prepopulate fields"

This reverts commit 71ff46e7.
parent cd22d2b4
Branches
Tags
No related merge requests found
......@@ -2272,10 +2272,6 @@ class Webform extends ConfigEntityBundleBase implements WebformInterface {
$cache_contexts[] = 'url.query_args';
}
else {
// Add individual prepopulate fields.
foreach ($this->getElementsPrepopulate() as $element_key) {
$cache_contexts[] = 'url.query_args:' . $element_key;
}
// Add source entity type and id query string parameters.
if ($this->getSetting('form_prepopulate_source_entity')) {
$cache_contexts[] = 'url.query_args:source_entity_type';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment