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::applyHeaders function core/lib/Drupal/Core/Htmx/Htmx.php Apply the header values to the render array.
Htmx::applyTo function core/lib/Drupal/Core/Htmx/Htmx.php Exports data from internal storage to a render array.
Htmx::ATTRIBUTE_PREFIX constant core/lib/Drupal/Core/Htmx/Htmx.php All HTMX attributes begin with this string.
Htmx::boost function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-boost` attribute.
Htmx::buildRequestAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Utility function for the request attributes.
Htmx::confirm function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-confirm` attribute.
Htmx::createBooleanAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Utility method to create and store a boolean value as an attribute.
Htmx::createFromRenderArray function core/lib/Drupal/Core/Htmx/Htmx.php Creates an Htmx object with values taken from a render array.
Htmx::createJsonAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Utility method to create and store an array as an attribute.
Htmx::createStringAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Utility method to create and store a string value as an attribute.
Htmx::delete function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-delete` attribute.
Htmx::disable function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-disable` attribute.
Htmx::disabledElt function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-disabled-elt` attribute.
Htmx::disinherit function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-disinherit` attribute.
Htmx::encoding function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-encoding` attribute.
Htmx::ensureKebabCase function core/lib/Drupal/Core/Htmx/Htmx.php Utility method to transform camelCase strings to kebab-case strings.
Htmx::ext function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-ext` attribute.
Htmx::get function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-get` attribute.
Htmx::getAttributes function core/lib/Drupal/Core/Htmx/Htmx.php Get the attribute storage.
Htmx::getHeaders function core/lib/Drupal/Core/Htmx/Htmx.php Get the header storage.
Htmx::hasAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Checks if an attribute is set.
Htmx::hasHeader function core/lib/Drupal/Core/Htmx/Htmx.php Checks if a header is set.
Htmx::headers function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-headers` attribute.
Htmx::history function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-history` attribute.
Htmx::historyElt function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-history-elt` attribute.
Htmx::include function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-include` attribute.
Htmx::indicator function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-indicator` attribute.
Htmx::inherit function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-inherit` attribute.
Htmx::locationHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Location header.
Htmx::on function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-on` attribute.
Htmx::onlyMainContent function core/lib/Drupal/Core/Htmx/Htmx.php Decides when to use the `drupal_htmx` wrapper format for Htmx requests.
Htmx::params function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-params` attribute.
Htmx::patch function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-patch` attribute.
Htmx::post function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-post` attribute.
Htmx::preserve function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-preserve` attribute.
Htmx::prompt function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-prompt` attribute.
Htmx::pushUrl function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-push-url` attribute.
Htmx::pushUrlHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Push-Url header.
Htmx::put function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-put` attribute.
Htmx::redirectHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Redirect header.
Htmx::refreshHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Refresh header.
Htmx::removeAttribute function core/lib/Drupal/Core/Htmx/Htmx.php Removes an attribute from the attribute store.
Htmx::removeHeader function core/lib/Drupal/Core/Htmx/Htmx.php Removes a header from the header store.
Htmx::replaceUrl function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-replace-url` attribute.
Htmx::replaceUrlHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Replace-Url header.
Htmx::request function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-request` attribute.
Htmx::reselectHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Reselect header.
Htmx::reswapHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Reswap header.
Htmx::retargetHeader function core/lib/Drupal/Core/Htmx/Htmx.php Set HX-Retarget header.
Htmx::select function core/lib/Drupal/Core/Htmx/Htmx.php Creates a `data-hx-select` attribute.

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