aggregator_test.routing.yml

Same filename in other branches
  1. 8.9.x core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.routing.yml
core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.routing.yml
1 string reference to YAML keys in aggregator_test.routing.yml
AggregatorTestRssController::testRedirect in core/modules/aggregator/tests/modules/aggregator_test/src/Controller/AggregatorTestRssController.php
Generates a rest redirect to the test feed.

File

core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.routing.yml

View source
  1. aggregator_test.feed:
  2. path: '/aggregator/test-feed/{use_last_modified}/{use_etag}'
  3. defaults:
  4. _controller: '\Drupal\aggregator_test\Controller\AggregatorTestRssController::testFeed'
  5. _title: 'Test feed static last modified date'
  6. use_last_modified: FALSE
  7. use_etag: FALSE
  8. requirements:
  9. _access: 'TRUE'
  10. aggregator_test.redirect:
  11. path: '/aggregator/redirect'
  12. defaults:
  13. _controller: '\Drupal\aggregator_test\Controller\AggregatorTestRssController::testRedirect'
  14. _title: 'Test feed with a redirect'
  15. requirements:
  16. _access: 'TRUE'

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