test_htmx.routing.yml

core/modules/system/tests/modules/test_htmx/test_htmx.routing.yml
1 string reference to YAML keys in test_htmx.routing.yml
HtmxTestAttachmentsController::generateHtmxButton in core/modules/system/tests/modules/test_htmx/src/Controller/HtmxTestAttachmentsController.php
Static helper to for reusable render array.

File

core/modules/system/tests/modules/test_htmx/test_htmx.routing.yml

View source
  1. test_htmx.attachments.page:
  2. path: '/htmx-test-attachments/page'
  3. defaults:
  4. _title: 'Page'
  5. _controller: '\Drupal\test_htmx\Controller\HtmxTestAttachmentsController::page'
  6. requirements:
  7. _permission: 'access content'
  8. test_htmx.attachments.replace:
  9. path: '/htmx-test-attachments/replace'
  10. defaults:
  11. _title: 'Ajax Content'
  12. _controller: '\Drupal\test_htmx\Controller\HtmxTestAttachmentsController::replace'
  13. requirements:
  14. _permission: 'access content'
  15. test_htmx.attachments.ajax:
  16. path: '/htmx-test-attachments/ajax'
  17. defaults:
  18. _title: 'Ajax'
  19. _form: '\Drupal\test_htmx\Form\HtmxTestAjaxForm'
  20. requirements:
  21. _permission: 'access content'

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