Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
Htmx::headers function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-headers` attribute.
Htmx::history function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-history` attribute.
Htmx::historyElt function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-history-elt` attribute.
Htmx::include function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-include` attribute.
Htmx::indicator function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-indicator` attribute.
Htmx::inherit function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-inherit` attribute.
Htmx::locationHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Location header.
Htmx::on function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-on` attribute.
Htmx::onlyMainContent function core/lib/Drupal/Core/Htmx/Htmx.php Decides when to use the `drupal_htmx` wrapper format for Htmx requests.
Htmx::params function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-params` attribute.
Htmx::patch function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-patch` attribute.
Htmx::post function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-post` attribute.
Htmx::preserve function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-preserve` attribute.
Htmx::prompt function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-prompt` attribute.
Htmx::pushUrl function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-push-url` attribute.
Htmx::pushUrlHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Push-Url header.
Htmx::put function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-put` attribute.
Htmx::redirectHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Redirect header.
Htmx::refreshHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Refresh header.
Htmx::removeAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Removes an attribute from the attribute store.
Htmx::removeHeader function core/lib/Drupal/Core/Htmx/Htmx.php Removes a header from the header store.
Htmx::replaceUrl function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-replace-url` attribute.
Htmx::replaceUrlHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Replace-Url header.
Htmx::request function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-request` attribute.
Htmx::reselectHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Reselect header.
Htmx::reswapHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Reswap header.
Htmx::retargetHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Retarget header.
Htmx::select function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-select` attribute.
Htmx::selectOob function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-select-oob` attribute.
Htmx::swap function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-swap` attribute.
Htmx::swapOob function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-swap-oob` attribute.
Htmx::sync function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-sync` attribute.
Htmx::target function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-target` attribute.
Htmx::trigger function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-trigger` attribute.
Htmx::triggerAfterSettleHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Trigger-After-Settle header.
Htmx::triggerAfterSwapHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Trigger-After-Swap header.
Htmx::triggerHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Trigger header.
Htmx::urlValue function core/lib/Drupal/Core/Htmx/Htmx.php Helper method to get the url string and store cache metadata.
Htmx::validate function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-validate` attribute.
Htmx::vals function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-vals` attribute.
Htmx::__construct function core/lib/Drupal/Core/Htmx/Htmx.php Initialize empty storage.
HtmxAssetLoadTestSetup class core/tests/Drupal/TestSite/HtmxAssetLoadTestSetup.php Setup file used by tests/src/Nightwatch/Tests/htmxAssetLoadTest.js.
HtmxAssetLoadTestSetup.php file core/tests/Drupal/TestSite/HtmxAssetLoadTestSetup.php
HtmxAssetLoadTestSetup::setup function core/tests/Drupal/TestSite/HtmxAssetLoadTestSetup.php Run the code to setup the test environment.
HtmxAttributesTest class core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test all attribute-related Htmx public methods.
HtmxAttributesTest.php file core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
HtmxAttributesTest::$htmx property core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Class under test.
HtmxAttributesTest::$url property core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Mocked Url object.
HtmxAttributesTest::apply function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Applies the Htmx attributes to a render array.
HtmxAttributesTest::booleanStringDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxPushUrl and :testHxReplaceUrl.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.