You are here

forward.routing.yml in Forward 4.x

File

forward.routing.yml
View source
  1. forward.settings:
  2. path: '/admin/config/user-interface/forward'
  3. defaults:
  4. _title: 'Forward settings'
  5. _form: 'Drupal\forward\Form\SettingsForm'
  6. requirements:
  7. _permission: 'administer forward'
  8. forward.form:
  9. path: '/forward/{entity_type}/{entity}'
  10. defaults:
  11. _title: 'Forward this page to a friend'
  12. _form: '\Drupal\forward\Form\ForwardForm'
  13. requirements:
  14. _permission: 'access forward'
  15. _entity_access: 'entity.view'
  16. options:
  17. parameters:
  18. entity:
  19. type: entity:{entity_type}