By alexpott on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.3.x
Introduced in version:
11.3.0
Issue links:
Description:
The views module has an AJAX command that allows code to set the browser URL without reloading the page.
use Drupal\views\Ajax\SetBrowserUrl;
/** @var \Drupal\Core\Url $url */
/** @var \Drupal\Core\Ajax\AjaxResponse $response */
$response->addCommand(new SetBrowserUrl($url->toString()));
Impacts:
Module developers