public function JsRedirectResponse::setForce in JS Callback Handler 8.3
Sets the whether or not redirection should be forced in the browser.
Parameters
bool $force: TRUE or FALSE
Return value
$this
File
- src/
JsRedirectResponse.php, line 27
Class
- JsRedirectResponse
- JsRedirectResponse.
Namespace
Drupal\jsCode
public function setForce($force = TRUE) {
$this->force = !!$force;
return $this;
}