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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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';