decoupled_router.routing.yml in Decoupled Router 2.x
Same filename and directory in other branches
4 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.
- DecoupledRouterInfoAlterTest::testDecoupledRouterInfoAlterTest in tests/
src/ Functional/ DecoupledRouterInfoAlterTest.php - Tests hook_decoupled_router_info_alter.
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