pager_test.routing.yml

Same filename and directory in other branches
  1. 11.x core/modules/system/tests/modules/pager_test/pager_test.routing.yml
  2. 10 core/modules/system/tests/modules/pager_test/pager_test.routing.yml
  3. 9 core/modules/system/tests/modules/pager_test/pager_test.routing.yml
  4. 8.9.x core/modules/system/tests/modules/pager_test/pager_test.routing.yml
core/modules/system/tests/modules/pager_test/pager_test.routing.yml
2 string references to YAML keys in pager_test.routing.yml
PagerModalTest::testPagerInsideModal in core/modules/system/tests/src/FunctionalJavascript/Pager/PagerModalTest.php
Tests pagers work inside of modals.
TestModalController::modal in core/modules/system/tests/modules/pager_test/src/Controller/TestModalController.php
Renders a link to open pager_test.multiple_pagers in a modal dialog.

File

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

View source
  1. pager_test.multiple_pagers:
  2. path: '/pager-test/multiple-pagers'
  3. defaults:
  4. _title: 'Page using multiple pagers for testing'
  5. _controller: '\Drupal\pager_test\Controller\PagerTestController::multiplePagers'
  6. requirements:
  7. _access: 'TRUE'
  8. pager_test.query_parameters:
  9. path: '/pager-test/query-parameters'
  10. defaults:
  11. _title: 'Pager using query parameters for testing'
  12. _controller: '\Drupal\pager_test\Controller\PagerTestController::queryParameters'
  13. requirements:
  14. _access: 'TRUE'
  15. pager_test.modal_pager:
  16. path: '/pager-test/modal-pager'
  17. defaults:
  18. _title: 'Page with a modal link with pagers'
  19. _controller: '\Drupal\pager_test\Controller\TestModalController::modal'
  20. requirements:
  21. _access: 'TRUE'

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