Search for swap

  1. Search 7.x for swap
  2. Search 9.5.x for swap
  3. Search 8.9.x for swap
  4. Search 10.3.x for swap
  5. Search 11.x for swap
  6. Other projects
Title Object type File name Summary
Htmx::reswapHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Reswap header.
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.
HtmxAttributesTest::hxSwapOobDataProvider function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Provides data to self::testHxSwapOob.
HtmxAttributesTest::testHxSwapOob function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test swapOob method.
HtmxAttributesTest::testSwap function core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php Test swap method.
HtmxHeadersTest::testReswapHeader function core/tests/Drupal/Tests/Core/Htmx/HtmxHeadersTest.php Test re-swap header.
HtmxTestAttachmentsController::swap function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds the response with a given swap.

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