ViewAjaxResponse::setView

public ViewAjaxResponse::setView(ViewExecutable $view)

Sets the executed view of this response.

Parameters

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

File

core/modules/views/src/Ajax/ViewAjaxResponse.php, line 28

Class

ViewAjaxResponse
Custom JSON response object for an ajax view response.

Namespace

Drupal\views\Ajax

Code

public function setView(ViewExecutable $view) {
  $this->view = $view;
}
doc_Drupal
2016-10-29 09:53:51
Comments
Leave a Comment

Please login to continue.