Reload a Drupal page after an Ajax form submit
In form submit:
$response = new AjaxResponse();
$currentURL = Url::fromRoute('<current>');
$response->addCommand(new RedirectCommand($currentURL->toString()));
return $response;
In form submit:
$response = new AjaxResponse();
$currentURL = Url::fromRoute('<current>');
$response->addCommand(new RedirectCommand($currentURL->toString()));
return $response;