You are here

public function ViewAjaxResponse::getView in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Ajax/ViewAjaxResponse.php \Drupal\views\Ajax\ViewAjaxResponse::getView()

Gets the executed view of this response.

Return value

\Drupal\views\ViewExecutable $view The View executed on this ajax request.

File

core/modules/views/src/Ajax/ViewAjaxResponse.php, line 43
Contains \Drupal\views\Ajax\ViewAjaxResponse.

Class

ViewAjaxResponse
Custom JSON response object for an ajax view response.

Namespace

Drupal\views\Ajax

Code

public function getView() {
  return $this->view;
}