You are here

wunderground_weather.routing.yml in Wunderground weather 8

File

wunderground_weather.routing.yml
View source
  1. wunderground_weather.admin_settings:
  2. path: '/admin/config/services/wunderground-weather'
  3. defaults:
  4. _form: '\Drupal\wunderground_weather\Form\WundergroundWeatherSettingsForm'
  5. _title: 'Settings'
  6. requirements:
  7. _permission: 'administer wunderground weather'
  8. wunderground_weather.autocomplete:
  9. path: '/wunderground_weather/autocomplete'
  10. defaults:
  11. _controller: '\Drupal\wunderground_weather\Controller\LocationAutocompleteController::autocomplete'
  12. _format: json
  13. requirements:
  14. _permission: 'access content'