public static function Html::setIsAjax in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Utility/Html.php \Drupal\Component\Utility\Html::setIsAjax()
Sets if this request is an Ajax request.
Parameters
bool $is_ajax: TRUE if this request is an Ajax request, FALSE otherwise.
File
- lib/
Drupal/ Component/ Utility/ Html.php, line 122 - Contains \Drupal\Component\Utility\Html.
Class
- Html
- Provides DOMDocument helpers for parsing and serializing HTML strings.
Namespace
Drupal\Component\UtilityCode
public static function setIsAjax($is_ajax) {
static::$isAjax = $is_ajax;
}