Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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 Modules to install.
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 Form constructor.
HtmxTestAjaxForm::getFormId function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestAjaxForm.php Returns a unique string identifying the form.
HtmxTestAjaxForm::submitForm function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestAjaxForm.php Form submission handler.
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
HtmxTestForm::buildDependentOptions function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestForm.php
HtmxTestForm::buildForm function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestForm.php Form constructor.
HtmxTestForm::getFormId function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestForm.php Returns a unique string identifying the form.
HtmxTestForm::getTriggerElement function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestForm.php
HtmxTestForm::submitForm function core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestForm.php Form submission handler.
HtmxUtilitiesTest class core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Test all Htmx public utility methods.
HtmxUtilitiesTest.php file core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php
HtmxUtilitiesTest::$htmx property core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Class under test.
HtmxUtilitiesTest::setUp function core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php
HtmxUtilitiesTest::testApplyTo function core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Test ::applyTo with defaults.
HtmxUtilitiesTest::testApplyToWithKey function core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Test ::applyTo with attribute key.
HtmxUtilitiesTest::testCreateFromRenderArray function core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Test ::createFromRenderArray.
HtmxUtilitiesTest::testGetAttributes function core/tests/Drupal/Tests/Core/Htmx/HtmxUtilitiesTest.php Test ::getAttributes.

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