Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewAjaxResponse.php

function 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\Ajax

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal