🇮🇳India balramchauhan684@gmail.com
🇮🇳India balramchauhan684@gmail.com
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,
];
🐛 | Drupal core | Using LocalRedirectResponse with "<front>" URL in controller results in LogicException
🇮🇳India balramchauhan684@gmail.com
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;
💬 | Drupal core | ConfigFactoryOverrideInterface::loadOverrides not invoked after content type creation in Drupal 10.3.0+
🇮🇳India balramchauhan684@gmail.com
public function getCacheSuffix() {
return 'key_config_override';
}
Try changing return value of getCacheSuffix function and test it again.