decoupled_router.routing.yml in Decoupled Router 8
Same filename and directory in other branches
3 string references to YAML keys in decoupled_router.routing.yml
- DecoupledRouterFunctionalTest::testHomPathCheck in tests/
src/ Functional/ DecoupledRouterFunctionalTest.php - Test that the home path check is working.
- DecoupledRouterFunctionalTest::testNegotiationNoMultilingual in tests/
src/ Functional/ DecoupledRouterFunctionalTest.php - Tests reading multilingual content.
- DecoupledRouterFunctionalTest::testUnpublishedContent in tests/
src/ Functional/ DecoupledRouterFunctionalTest.php - Test that unpublished content ist not available
File
decoupled_router.routing.ymlView source
- decoupled_router.path_translation:
- path: '/router/translate-path'
- defaults:
- _title: 'Translates an incoming path into a formatted response.'
- _controller: '\Drupal\decoupled_router\Controller\PathTranslator::translate'
- methods: [GET]
- options:
- _auth: ['basic_auth', 'cookie', 'oauth2']
- requirements:
- _permission: 'access content'
- _format: json