function ViewAjaxResponse::getView
Same name in other branches
- 9 core/modules/views/src/Ajax/ViewAjaxResponse.php \Drupal\views\Ajax\ViewAjaxResponse::getView()
- 8.9.x core/modules/views/src/Ajax/ViewAjaxResponse.php \Drupal\views\Ajax\ViewAjaxResponse::getView()
- 10 core/modules/views/src/Ajax/ViewAjaxResponse.php \Drupal\views\Ajax\ViewAjaxResponse::getView()
Gets the executed view of this response.
Return value
\Drupal\views\ViewExecutable The View executed on this ajax request.
File
-
core/
modules/ views/ src/ Ajax/ ViewAjaxResponse.php, line 38
Class
- ViewAjaxResponse
- Custom JSON response object for an ajax view response.
Namespace
Drupal\views\AjaxCode
public function getView() {
return $this->view;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.