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. Search 11.x for all
  6. Other projects
Title Object type File name Summary
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
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.
HtmxAttributesTest::hxOnDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxOn.
HtmxAttributesTest::hxSimpleStringAttributesDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxSimpleStringAttributes.
HtmxAttributesTest::hxSwapOobDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxSwapOob.
HtmxAttributesTest::hxValidateDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to ::testHxValidate.
HtmxAttributesTest::setUp function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
HtmxAttributesTest::testHxBoost function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test boost method.
HtmxAttributesTest::testHxHeaders function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test headers method.
HtmxAttributesTest::testHxOn function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test on method.
HtmxAttributesTest::testHxPushUrl function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test pushUrl method.
HtmxAttributesTest::testHxPushUrlAbsolute function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test pushUrl method with a Url object.
HtmxAttributesTest::testHxReplaceUrl function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test replaceUrl method.
HtmxAttributesTest::testHxReplaceUrlAbsolute function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test replaceUrl method with a Url object.
HtmxAttributesTest::testHxRequest function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test request method.
HtmxAttributesTest::testHxSimpleAttributes function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test remaining methods.
HtmxAttributesTest::testHxSwapOob function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test swapOob method.
HtmxAttributesTest::testHxValidate function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test validate method.
HtmxAttributesTest::testHxVals function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test vals method.
HtmxAttributesTest::testSwap function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test swap method.
HtmxContentViewSubscriber class core/lib/Drupal/Core/EventSubscriber/HtmxContentViewSubscriber.php View subscriber rendering main content from `_htmx_route` option routes.
HtmxContentViewSubscriber.php file core/lib/Drupal/Core/EventSubscriber/HtmxContentViewSubscriber.php
HtmxContentViewSubscriber::getHtmxRenderer function core/lib/Drupal/Core/EventSubscriber/HtmxContentViewSubscriber.php Gets the HtmxRenderer service.
HtmxContentViewSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/HtmxContentViewSubscriber.php
HtmxContentViewSubscriber::renderHtmxResponse function core/lib/Drupal/Core/EventSubscriber/HtmxContentViewSubscriber.php Sets a minimal response render array on an `_htmx_route` route.
HtmxContentViewSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/HtmxContentViewSubscriber.php
HtmxDynamicFormTest class core/tests/Drupal/FunctionalJavascriptTests/Core/Htmx/HtmxDynamicFormTest.php Tests that dynamic forms powered by HTMX work as expected.
HtmxDynamicFormTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/Htmx/HtmxDynamicFormTest.php
HtmxDynamicFormTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/Htmx/HtmxDynamicFormTest.php
HtmxDynamicFormTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/Htmx/HtmxDynamicFormTest.php

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