The attached patch is a quick workaround to set $panel_display's context vari...

Contribution Date
Technology
Contribution Project
Contribution Details

The attached patch is a quick workaround to set $panel_display's context variable based on setting object in session.
So drupal's form cache won't create any issue at all.

Another observation:
In "FormCache.php" file's public function setCache($form_build_id, $form, FormStateInterface $form_state) {} method has approrpiate value of `$panel_display` variable i.e. with context value are set.

When we try to retrieve values from loadCachedFormState() method, `$panel_display->context` doesn't return anything. That will break buildForm method because context value is not present.

Issue Status
Needs work
Contribution Author
Files count
1
Patches count
1