live_weather.routing.yml in Live Weather 8
Same filename and directory in other branches
5 string references to YAML keys in live_weather.routing.yml
- LiveWeatherController::locationList in src/
Controller/ LiveWeatherController.php - Constructs a list of locations.
- LiveWeatherDeleteForm::getCancelUrl in src/
Form/ LiveWeatherDeleteForm.php - Returns the route to go to if the user cancels the action.
- LiveWeatherDeleteForm::submitForm in src/
Form/ LiveWeatherDeleteForm.php - Form submission handler.
- LiveWeatherForm::getEditableConfigNames in src/
Form/ LiveWeatherForm.php - Gets the configuration names that will be editable.
- LiveWeatherSettingsForm::getEditableConfigNames in src/
Form/ LiveWeatherSettingsForm.php - Gets the configuration names that will be editable.
File
live_weather.routing.ymlView source
- live_weather.location:
- path: '/admin/config/services/live_weather/location'
- defaults:
- _controller: '\Drupal\live_weather\Controller\LiveWeatherController::locationList'
- _title: 'Live Weather'
- requirements:
- _permission: 'live_weather configuration'
- live_weather.settings:
- path: '/admin/config/services/live_weather/settings'
- defaults:
- _form: 'Drupal\live_weather\Form\LiveWeatherSettingsForm'
- _title: 'Weather Settings'
- requirements:
- _permission: 'live_weather configuration'
- live_weather.delete:
- path: '/admin/config/services/live_weather/location/delete/{woeid}'
- defaults:
- _form: 'Drupal\live_weather\Form\LiveWeatherDeleteForm'
- title: 'Weather Delete'
- requirements:
- _permission: 'live_weather configuration'