public function ViewExecutable::setRequest in Drupal 8
Same name and namespace in other branches
- 9 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\viewsCode
public function setRequest(Request $request) {
$this->request = $request;
}