W3cubDocs

/Drupal 8

protected static property Html::$isAjax

Stores whether the current request was sent via AJAX.

Type: bool

File

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

Class

Html
Provides DOMDocument helpers for parsing and serializing HTML strings.

Namespace

Drupal\Component\Utility

Code

protected static $isAjax = FALSE;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!Html.php/property/Html::isAjax/8.1.x