You are here

public function ViewExecutable::setResponse in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::setResponse()

Sets the used response object of the view.

Parameters

\Symfony\Component\HttpFoundation\Response $response: The response object which should be set.

File

core/modules/views/src/ViewExecutable.php, line 1656
Contains \Drupal\views\ViewExecutable.

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function setResponse(Response $response) {
  $this->response = $response;
}