typed_data_widget_test.routing.yml in Typed Data API enhancements 8
tests/modules/typed_data_widget_test/typed_data_widget_test.routing.yml
1 string reference to YAML keys in typed_data_widget_test.routing.yml
- FormWidgetExampleController::listWidgetExamples in tests/
modules/ typed_data_widget_test/ src/ FormWidgetExampleController.php - Returns a couple of links to widgets.
File
tests/modules/typed_data_widget_test/typed_data_widget_test.routing.ymlView source
- typed_data_widget_test.examples:
- path: '/admin/config/user-interface/typed-data-widgets'
- defaults:
- _controller: '\Drupal\typed_data_widget_test\FormWidgetExampleController:listWidgetExamples'
- _title: 'Widget examples'
- requirements:
- _permission: 'administer site configuration'
- typed_data_widget_test.examples.form:
- path: '/admin/config/user-interface/typed-data-widgets/{widget_id}'
- defaults:
- _form: '\Drupal\typed_data_widget_test\FormWidgetExampleForm'
- _title: 'Widget examples'
- requirements:
- _permission: 'administer site configuration'