You are here

public function ViewRevisionsRequest::isAjax in Config Entity Revisions 8

Same name and namespace in other branches
  1. 1.x modules/views_revisions/src/ViewsRevisionsRequest.php \Drupal\views_revisions\ViewRevisionsRequest::isAjax()

File

modules/views_revisions/src/ViewsRevisionsRequest.php, line 232

Class

ViewRevisionsRequest
Handles view requests.

Namespace

Drupal\views_revisions

Code

public function isAjax() {
  return $this->request
    ->get(AjaxResponseSubscriber::AJAX_REQUEST_PARAMETER) ? TRUE : FALSE;
}