You are here

sitewide_alert.routing.yml in Sitewide Alert 8

File

sitewide_alert.routing.yml
View source
  1. sitewide_alert.sitewide_alerts_controller_load:
  2. path: '/sitewide_alert/load'
  3. defaults:
  4. _controller: '\Drupal\sitewide_alert\Controller\SitewideAlertsController::load'
  5. _title: 'load'
  6. requirements:
  7. _permission: 'access content'
  8. sitewide_alert.sitewide_alert_config_form:
  9. path: '/admin/config/sitewide_alerts'
  10. defaults:
  11. _form: '\Drupal\sitewide_alert\Form\SitewideAlertConfigForm'
  12. _title: 'Sitewide Alert Global Settings'
  13. requirements:
  14. _permission: 'administer sitewide alert'
  15. options:
  16. _admin_route: TRUE