Problem/Motivation

Render arrays with webforms are not cached by Drupal. Adding the #lazy property (#3164675) resolves the issue.

Proposed resolution

  • Add #lazy: true to Drupal\pagedesigner_webform\Plugin\pagedesigner\Handler\Webform::render
  • Wait for #3164675 or use a patch.

Remaining tasks

  • Add #lazy: true to Drupal\pagedesigner_webform\Plugin\pagedesigner\Handler\Webform::render
  • Wait for #3164675 or use a patch.

Comments

pvbergen created an issue. See original summary.

pvbergen’s picture

Issue summary: View changes

pvbergen’s picture

Status: Active » Postponed
pvbergen’s picture

Status: Postponed » Reviewed & tested by the community

  • pvbergen committed f4c8d8e5 on 2.0.x
    #3319991: Use #lazy for webform rendering
    
pvbergen’s picture

Status: Reviewed & tested by the community » Fixed

#3164675: Add lazy builder support to the Webform render element. has been added to drupal/webform:6.2, so we will merge this.
Also, adding #lazy without support by webform does not cause any issues.

  • pvbergen committed f4c8d8e5 on issue/3319981
    #3319991: Use #lazy for webform rendering
    
pvbergen’s picture

Status: Fixed » Closed (fixed)