function HtmxAttributesTest::apply

18 calls to HtmxAttributesTest::apply()
HtmxAttributesTest::testHxBoost in core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
Test boost method.
HtmxAttributesTest::testHxDelete in core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
Test delete method.
HtmxAttributesTest::testHxGet in core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
Test get method.
HtmxAttributesTest::testHxHeaders in core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
Test headers method.
HtmxAttributesTest::testHxOn in core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
Test on method.

... See full list

File

core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php, line 49

Class

HtmxAttributesTest
Test all attribute-related Htmx public methods.

Namespace

Drupal\Tests\Core\Htmx

Code

protected function apply() : array {
  $render = [];
  $this->htmx
    ->applyTo($render);
  return $render;
}

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