Html::setIsAjax

public static Html::setIsAjax($is_ajax)

Sets if this request is an Ajax request.

Parameters

bool $is_ajax: TRUE if this request is an Ajax request, FALSE otherwise.

File

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

Class

Html
Provides DOMDocument helpers for parsing and serializing HTML strings.

Namespace

Drupal\Component\Utility

Code

public static function setIsAjax($is_ajax) {
  static::$isAjax = $is_ajax;
}
doc_Drupal
2016-10-29 09:18:45
Comments
Leave a Comment

Please login to continue.