js.routing.yml in JS Callback Handler 8.3
3 string references to YAML keys in js.routing.yml
- EventSubscriber::alterRoutes in src/
EventSubscriber.php - Alters existing routes for a specific collection.
- JsCallbackBase::__construct in src/
Plugin/ Js/ JsCallbackBase.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- js_js_settings_build in ./
js.module - Implements hook_js_settings_build().
File
js.routing.ymlView source
- js.callback:
- path: /js
- methods: [HEAD, GET, POST, PUT, PATCH, DELETE, PURGE, OPTIONS, TRACE, CONNECT]
- defaults:
- _title: 'JS Callback Handler'
- _controller: 'js.callback:execute'
- requirements:
- _access: 'TRUE'
-
- js.configure:
- path: /admin/config/system/js
- defaults:
- _title: 'JS Callback Handler'
- _form: \Drupal\js\Form\JsConfigureForm
- requirements:
- _permission: 'administer js'