aggregator_test.routing.yml in Drupal 8
Same filename and directory in other branches
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.ymlView source
- aggregator_test.feed:
- path: '/aggregator/test-feed/{use_last_modified}/{use_etag}'
- defaults:
- _controller: '\Drupal\aggregator_test\Controller\AggregatorTestRssController::testFeed'
- _title: 'Test feed static last modified date'
- use_last_modified: FALSE
- use_etag: FALSE
- requirements:
- _access: 'TRUE'
-
- aggregator_test.redirect:
- path: '/aggregator/redirect'
- defaults:
- _controller: '\Drupal\aggregator_test\Controller\AggregatorTestRssController::testRedirect'
- _title: 'Test feed with a redirect'
- requirements:
- _access: 'TRUE'