You are here

public function ViewExecutable::setRequest in Drupal 9

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

Sets the request object.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The request object.

1 call to ViewExecutable::setRequest()
ViewExecutable::__wakeup in core/modules/views/src/ViewExecutable.php
Magic method implementation to unserialize the view executable.

File

core/modules/views/src/ViewExecutable.php, line 1804

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function setRequest(Request $request) {
  $this->request = $request;
}