Html::$isAjax

Same name in other branches
  1. 9 core/lib/Drupal/Component/Utility/Html.php \Drupal\Component\Utility\Html::isAjax
  2. 8.9.x core/lib/Drupal/Component/Utility/Html.php \Drupal\Component\Utility\Html::isAjax
  3. 10 core/lib/Drupal/Component/Utility/Html.php \Drupal\Component\Utility\Html::isAjax

Stores whether the current request was sent via AJAX.

Type: bool

File

core/lib/Drupal/Component/Utility/Html.php, line 40

Class

Html
Provides DOMDocument helpers for parsing and serializing HTML strings.

Namespace

Drupal\Component\Utility

Code

protected static $isAjax = FALSE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.