dbtng_example.routing.yml in Examples for Developers 3.x
modules/dbtng_example/dbtng_example.routing.yml
1 string reference to YAML keys in dbtng_example.routing.yml
- _examples_toolbar_routes in ./
examples.module - Get a list of toolbar links to provide.
File
modules/dbtng_example/dbtng_example.routing.ymlView source
- dbtng_example.generate_entry_list:
- path: '/examples/dbtng-example'
- defaults:
- _title: 'DBTNG Example'
- _controller: '\Drupal\dbtng_example\Controller\DbtngExampleController::entryList'
- requirements:
- _permission: 'access content'
-
- dbtng_example.list:
- path: '/examples/dbtng-example/list'
- defaults:
- _title: 'List'
- _controller: '\Drupal\dbtng_example\Controller\DbtngExampleController::entryList'
- requirements:
- _permission: 'access content'
-
- dbtng_example.add:
- path: '/examples/dbtng-example/add'
- defaults:
- _title: 'Add entry'
- _form: '\Drupal\dbtng_example\Form\DbtngExampleAddForm'
- requirements:
- _permission: 'access content'
-
- dbtng_example.update:
- path: '/examples/dbtng-example/update'
- defaults:
- _title: 'Update entry'
- _form: '\Drupal\dbtng_example\Form\DbtngExampleUpdateForm'
- requirements:
- _permission: 'access content'
-
- dbtng_example.advanced:
- path: '/examples/dbtng-example/advanced'
- defaults:
- _title: 'Advanced list'
- _controller: '\Drupal\dbtng_example\Controller\DbtngExampleController::entryAdvancedList'
- requirements:
- _permission: 'access content'