function ViewExecutable::setRequest
Same name in other branches
- 8.9.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::setRequest()
- 10 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::setRequest()
- 11.x 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 1809
Class
- ViewExecutable
- Represents a view as a whole.
Namespace
Drupal\viewsCode
public function setRequest(Request $request) {
$this->request = $request;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.