function HtmxRendererTest::testHtmxRouteOption
Test triggering the renderer with the _htmx_route option.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Htmx/ HtmxRendererTest.php, line 88
Class
- HtmxRendererTest
- Verifies HtmxRenderer.
Namespace
Drupal\KernelTests\Core\HtmxCode
public function testHtmxRouteOption() : void {
$url = Url::fromRoute('test_htmx.attachments.route_option');
$this->assertHtmxResponseContent($url);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.