public static function Html::setIsAjax in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/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.
3 calls to Html::setIsAjax()
- AjaxResponseSubscriber::onRequest in core/
lib/ Drupal/ Core/ EventSubscriber/ AjaxResponseSubscriber.php - Sets the AJAX parameter from the current request.
- HtmlTest::testHtmlGetId in core/
tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php - Tests the Html::getUniqueId() method.
- HtmlTest::testHtmlGetUniqueIdWithAjaxIds in core/
tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php - Tests the Html::getUniqueId() method.
File
- core/
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;
}