function HtmxTestAttachmentsController::replaceWithAjax
We need a static callback that ignores callback parameters.
Return value
array The render array.
File
-
core/
modules/ system/ tests/ modules/ test_htmx/ src/ Controller/ HtmxTestAttachmentsController.php, line 72
Class
- HtmxTestAttachmentsController
- Returns responses for HTMX Test Attachments routes.
Namespace
Drupal\test_htmx\ControllerCode
public static function replaceWithAjax() : array {
return static::generateHtmxButton();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.