🇮🇳India @balramchauhan684@gmail.com

Account created on 7 August 2019, over 5 years ago
#

Recent comments

could you please assign tree value as TRUE OR FALSE and retest again.

   $form['more_details'] = [
      '#type' => 'details',
      '#title' => t('More details in here'),
      '#open' => FALSE,
      '#tree' => FALSE,
    ];

Try this code if it works for you.

use Drupal\big_pipe\Render\Placeholder\BigPipeStrategy;
   use Drupal\Core\Cache\CacheableMetadata;
   use Drupal\Core\Routing\LocalRedirectResponse;

    $response = new LocalRedirectResponse(Url::fromRoute('<front>')->toString());
    $response->addCacheableDependency((new CacheableMetadata())->addCacheContexts(['cookies:' . BigPipeStrategy::NOJS_COOKIE, 'session.exists']));
    return $response;

public function getCacheSuffix() {
return 'key_config_override';
}

Try changing return value of getCacheSuffix function and test it again.

Production build 0.71.5 2024