js_example.routing.yml
Same filename in other branches
1 string reference to YAML keys in js_example.routing.yml
- _examples_toolbar_routes in ./
examples.module - Get a list of toolbar links for testing toolbar routes.
File
-
modules/
js_example/ js_example.routing.yml
View source
- js_example.info:
- path: '/examples/js-example'
- defaults:
- _title: 'JavaScript Example information'
- _controller: '\Drupal\js_example\Controller\JsExampleController::description'
- requirements:
- _permission: 'access content'
-
- js_example.colors:
- path: '/examples/js-example/colors'
- defaults:
- _title: 'JavaScript Example: Weighting in action'
- _controller: '\Drupal\js_example\Controller\JsExampleController::showColors'
- requirements:
- _permission: 'access content'
-
- js_example.accordion:
- path: '/examples/js-example/accordion'
- defaults:
- _title: 'JavaScript Example: Accordion'
- _controller: '\Drupal\js_example\Controller\JsExampleController::showAccordion'
- requirements:
- _permission: 'access content'