ViewExecutable::setResponse

public ViewExecutable::setResponse(Response $response)

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 1768

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

1
2
3
public function setResponse(Response $response) {
  $this->response = $response;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.