shorten.routing.yml in Shorten URLs 8
File
shorten.routing.yml
View source
- shorten.admin_form:
- path: /admin/config/services/shorten
- defaults:
- _title: Shorten
- _form: '\Drupal\shorten\Form\ShortenAdminForm'
- requirements:
- _permission: 'administer site configuration'
- shorten.keys_form:
- path: /admin/config/services/shorten/keys
- defaults:
- _title: 'Shorten API Keys'
- _form: '\Drupal\shorten\Form\ShortenKeysForm'
- requirements:
- _permission: 'manage Shorten URLs API keys'
- shorten.form_shorten_form_shorten_form_shorten:
- path: /shorten
- defaults:
- _title: 'Shorten URLs'
- _form: '\Drupal\shorten\Form\ShortenShortenForm'
- requirements:
- _permission: 'use Shorten URLs page'