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 11.x for %s
  6. Other projects
Title Object type File name Summary
HtmxHeadersTest::testTriggerHeaderComplex function core/tests/Drupal/Tests/Core/Htmx/HtmxHeadersTest.php Test target header with complex data.
HtmxLocationResponseData class core/lib/Drupal/Core/Htmx/HtmxLocationResponseData.php Optional data object for HX-Location.
HtmxLocationResponseData.php file core/lib/Drupal/Core/Htmx/HtmxLocationResponseData.php
HtmxLocationResponseData::$cacheableMetadata property core/lib/Drupal/Core/Htmx/HtmxLocationResponseData.php Collects cache data for the URL.
HtmxLocationResponseData::getCacheableMetadata function core/lib/Drupal/Core/Htmx/HtmxLocationResponseData.php Retrieves the cacheable metadata associated with the URL.
HtmxLocationResponseData::__construct function core/lib/Drupal/Core/Htmx/HtmxLocationResponseData.php Data for HX-Location headers.
HtmxLocationResponseData::__toString function core/lib/Drupal/Core/Htmx/HtmxLocationResponseData.php Returns non-empty data, JSON encoded.
HtmxRenderer::renderResponse function core/lib/Drupal/Core/Render/MainContent/HtmxRenderer.php We only wrap the necessary content into a full HTML document to be
processed by HTMX on the frontend.
HtmxRenderer::__construct function core/lib/Drupal/Core/Render/MainContent/HtmxRenderer.php Constructs a new HtmxRenderer.
HtmxRendererCacheTest class core/tests/Drupal/FunctionalTests/Htmx/HtmxRendererCacheTest.php Tests the cache headers set HtmxRenderer responses.
HtmxRendererCacheTest.php file core/tests/Drupal/FunctionalTests/Htmx/HtmxRendererCacheTest.php
HtmxRendererCacheTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Htmx/HtmxRendererCacheTest.php
HtmxRendererCacheTest::$modules property core/tests/Drupal/FunctionalTests/Htmx/HtmxRendererCacheTest.php
HtmxRendererCacheTest::setUp function core/tests/Drupal/FunctionalTests/Htmx/HtmxRendererCacheTest.php
HtmxRendererCacheTest::testCacheResources function core/tests/Drupal/FunctionalTests/Htmx/HtmxRendererCacheTest.php
HtmxRendererTest class core/tests/Drupal/KernelTests/Core/Htmx/HtmxRendererTest.php Verifies HtmxRenderer.
HtmxRendererTest.php file core/tests/Drupal/KernelTests/Core/Htmx/HtmxRendererTest.php
HtmxRendererTest::$httpKernel property core/tests/Drupal/KernelTests/Core/Htmx/HtmxRendererTest.php Injected kernel service.
HtmxRendererTest::$modules property core/tests/Drupal/KernelTests/Core/Htmx/HtmxRendererTest.php Modules to install.
HtmxRendererTest::assertHtmxResponseContent function core/tests/Drupal/KernelTests/Core/Htmx/HtmxRendererTest.php Verify expected response from HtmxRenderer.
HtmxRendererTest::setUp function core/tests/Drupal/KernelTests/Core/Htmx/HtmxRendererTest.php
HtmxRendererTest::testHtmxRouteOption function core/tests/Drupal/KernelTests/Core/Htmx/HtmxRendererTest.php Test triggering the renderer with the _htmx_route option.
HtmxRendererTest::testWrapperFormat function core/tests/Drupal/KernelTests/Core/Htmx/HtmxRendererTest.php Test triggering the renderer with _wrapper_format.
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::$httpKernel property core/tests/Drupal/KernelTests/Core/Htmx/HtmxRequestTest.php Injected kernel service.

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