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 to provide.
File
-
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.weights:
- path: '/examples/js-example/weights'
- defaults:
- _title: 'JS Example: see weighting in action'
- _controller: '\Drupal\js_example\Controller\JsExampleController::getJsWeightImplementation'
- requirements:
- _permission: 'access content'
-
- js_example.accordion:
- path: '/examples/js-example/accordion'
- defaults:
- _title: 'JS Example: JavaScript Accordion'
- _controller: '\Drupal\js_example\Controller\JsExampleController::getJsAccordionImplementation'
- requirements:
- _permission: 'access content'