function HtmxHeadersTest::apply
15 calls to HtmxHeadersTest::apply()
- HtmxHeadersTest::testLocationHeaderResponseData in core/
tests/ Drupal/ Tests/ Core/ Htmx/ HtmxHeadersTest.php - Test location header with complex data.
- HtmxHeadersTest::testLocationHeaderUrl in core/
tests/ Drupal/ Tests/ Core/ Htmx/ HtmxHeadersTest.php - Test location header with simple URL object.
- HtmxHeadersTest::testPushUrlHeader in core/
tests/ Drupal/ Tests/ Core/ Htmx/ HtmxHeadersTest.php - Test push url header with a simple URL object.
- HtmxHeadersTest::testRedirectHeader in core/
tests/ Drupal/ Tests/ Core/ Htmx/ HtmxHeadersTest.php - Test redirect header with simple URL object.
- HtmxHeadersTest::testRefreshHeader in core/
tests/ Drupal/ Tests/ Core/ Htmx/ HtmxHeadersTest.php - Test refresh header.
File
-
core/
tests/ Drupal/ Tests/ Core/ Htmx/ HtmxHeadersTest.php, line 49
Class
- HtmxHeadersTest
- Test all header-related Htmx public methods.
Namespace
Drupal\Tests\Core\HtmxCode
protected function apply(array $render = []) : array {
$this->htmx
->applyTo($render);
return $render;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.