You are here

shorten.routing.yml in Shorten URLs 8

Same filename and directory in other branches
  1. 8.2 shorten.routing.yml

File

shorten.routing.yml
View source
  1. shorten.admin_form:
  2. path: /admin/config/services/shorten
  3. defaults:
  4. _title: Shorten
  5. _form: '\Drupal\shorten\Form\ShortenAdminForm'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. shorten.keys_form:
  9. path: /admin/config/services/shorten/keys
  10. defaults:
  11. _title: 'Shorten API Keys'
  12. _form: '\Drupal\shorten\Form\ShortenKeysForm'
  13. requirements:
  14. _permission: 'manage Shorten URLs API keys'
  15. shorten.form_shorten_form_shorten_form_shorten:
  16. path: /shorten
  17. defaults:
  18. _title: 'Shorten URLs'
  19. _form: '\Drupal\shorten\Form\ShortenShortenForm'
  20. requirements:
  21. _permission: 'use Shorten URLs page'