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
1 2 3 | public static function setIsAjax( $is_ajax ) { static :: $isAjax = $is_ajax ; } |
Please login to continue.