public function JsResponse::setJs in JS Callback Handler 8.3
Sets the JS Callback Handler instance.
Parameters
\Drupal\js\Js $js:
Return value
$this
File
- src/
JsResponse.php, line 236
Class
- JsResponse
- JsResponse.
Namespace
Drupal\jsCode
public function setJs(Js $js) {
$this->js = $js;
return $this;
}