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 main for all
  6. Other projects
Title Object type File name Summary
HtmxRequestInfoTest class core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php Test all HtmxRequestInfoTrait methods.
HtmxRequestInfoTest.php file core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php
HtmxRequestInfoTest::$request property core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php A simulated request.
HtmxRequestInfoTest::getRequest function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php
HtmxRequestInfoTest::setUp function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php
HtmxRequestInfoTest::testGetHtmxCurrentUrl function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php Tests the getHtmxCurrentUrl method.
HtmxRequestInfoTest::testGetHtmxPrompt function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php Tests the getHtmxPrompt method.
HtmxRequestInfoTest::testGetHtmxTarget function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php Tests the getHtmxTarget method.
HtmxRequestInfoTest::testGetHtmxTrigger function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php Tests the getHtmxTrigger method.
HtmxRequestInfoTest::testGetHtmxTriggerName function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php Tests the getHtmxTriggerName method.
HtmxRequestInfoTest::testIsHtmxBoosted function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php Tests the isHtmxBoosted method.
HtmxRequestInfoTest::testIsHtmxHistoryRestoration function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php Tests the isHtmxHistoryRestoration method.
HtmxRequestInfoTest::testIsHtmxRequest function core/tests/Drupal/Tests/Core/Htmx/HtmxRequestInfoTest.php Tests the isHtmxRequest method.
HtmxRequestInfoTrait trait core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Provides methods for getting information about the HTMX request.
HtmxRequestInfoTrait.php file core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php
HtmxRequestInfoTrait::getHtmxCurrentUrl function core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Retrieves the URL of the requesting page from an HTMX request header.
HtmxRequestInfoTrait::getHtmxPrompt function core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Retrieves the prompt from an HTMX request header.
HtmxRequestInfoTrait::getHtmxTarget function core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Retrieves the target identifier from an HTMX request header.
HtmxRequestInfoTrait::getHtmxTrigger function core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Retrieves the trigger identifier from an HTMX request header.
HtmxRequestInfoTrait::getHtmxTriggerName function core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Retrieves the trigger name from an HTMX request header.
HtmxRequestInfoTrait::getRequest function core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Gets the request object.
HtmxRequestInfoTrait::isHtmxBoosted function core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Determines if the request is boosted by HTMX.
HtmxRequestInfoTrait::isHtmxHistoryRestoration function core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Determines if if the request is for history restoration.
HtmxRequestInfoTrait::isHtmxRequest function core/lib/Drupal/Core/Htmx/HtmxRequestInfoTrait.php Determines if the request is sent by HTMX.
HtmxRequestTest class core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php Test the request attributes for HTMX.
HtmxRequestTest.php file core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php
HtmxRequestTest::$htmx property core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php Class under test.
HtmxRequestTest::$httpKernel property core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php Injected kernel service.
HtmxRequestTest::$modules property core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php
HtmxRequestTest::$url property core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php Prepared Url object.
HtmxRequestTest::htmxRequestProvider function core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php Data provider for testHxRequest.
HtmxRequestTest::setUp function core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php
HtmxRequestTest::testHxRequest function core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php Test all 5 request verb methods.
HtmxTestAjaxForm class core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestAjaxForm.php A small form used to insert an HTMX powered element using ajax API.
HtmxTestAjaxForm.php file core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestAjaxForm.php
HtmxTestAjaxForm::buildForm function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestAjaxForm.php
HtmxTestAjaxForm::getFormId function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestAjaxForm.php
HtmxTestAjaxForm::submitForm function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestAjaxForm.php
HtmxTestAttachmentsController class core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Returns responses for HTMX Test Attachments routes.
HtmxTestAttachmentsController.php file core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php
HtmxTestAttachmentsController::after function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds a response with an `afterend` swap.
HtmxTestAttachmentsController::before function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds a response with a `beforebegin` swap.
HtmxTestAttachmentsController::generateHtmxButton function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Static helper to for reusable render array.
HtmxTestAttachmentsController::page function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds the response.
HtmxTestAttachmentsController::replace function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds the HTMX response.
HtmxTestAttachmentsController::replaceWithAjax function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php We need a static callback that ignores callback parameters.
HtmxTestAttachmentsController::selectBody function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Tests body targeting and swapping.
HtmxTestAttachmentsController::withWrapperFormat function core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php Builds a response with an the wrapper format parameter on the request.
HtmxTestForm class core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestForm.php A small form used to test HTMX dynamic forms.
HtmxTestForm.php file core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestForm.php

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