public function WebformRevisionsRequest::isAjax in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 modules/webform_revisions/src/WebformRevisionsRequest.php \Drupal\webform_revisions\WebformRevisionsRequest::isAjax()
- 1.x modules/webform_revisions/src/WebformRevisionsRequest.php \Drupal\webform_revisions\WebformRevisionsRequest::isAjax()
Determine if the current request is an Ajax request.
Return value
bool TRUE if the current request is an Ajax request.
Overrides WebformRequest::isAjax
File
- modules/
webform_revisions/ src/ WebformRevisionsRequest.php, line 232
Class
- WebformRevisionsRequest
- Handles webform requests.
Namespace
Drupal\webform_revisionsCode
public function isAjax() {
return $this->request
->get(AjaxResponseSubscriber::AJAX_REQUEST_PARAMETER) ? TRUE : FALSE;
}