function SetBrowserUrl::__construct
Constructs a new command instance.
Parameters
string $url: The URL to be set in the browser.
File
-
core/
modules/ views/ src/ Ajax/ SetBrowserUrl.php, line 20
Class
- SetBrowserUrl
- AJAX command that sets the browser URL without refreshing the page.
Namespace
Drupal\views\AjaxCode
public function __construct(protected string $url) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.