Skip to content
Snippets Groups Projects

Add a cache context for the uuid query argument.

Open catch requested to merge issue/drupal-3397987:3397987-node-form-cacheability into 11.x
1 unresolved thread

Closes #3397987

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
95 95 // Attempt to load from preview when the uuid is present unless we are
96 96 // rebuilding the form.
97 97 $request_uuid = \Drupal::request()->query->get('uuid');
98 $form['#cache']['contexts'] = ['url.query_args.uuid'];
  • added 1 commit

    • 2b4c3ef8 - Add a cache context for the uuid query argument.

    Compare with previous version

  • Please register or sign in to reply
    Loading