You are here

thunder_article.routing.yml in Thunder 8.3

modules/thunder_article/thunder_article.routing.yml

File

modules/thunder_article/thunder_article.routing.yml
View source
  1. thunder_article.configuration_form:
  2. path: '/admin/config/thunder_article/configuration'
  3. defaults:
  4. _form: '\Drupal\thunder_article\Form\ConfigurationForm'
  5. _title: 'Thunder Article Configuration'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. options:
  9. _admin_route: TRUE
  10. node.revision_revert_default_confirm:
  11. path: '/node/{node}/revisions/{node_revision}/revert-default'
  12. defaults:
  13. _form: '\Drupal\thunder_article\Form\NodeRevisionRevertDefaultForm'
  14. _title: 'Revert to earlier revision'
  15. requirements:
  16. _access_node_revision: 'update'
  17. node: \d+
  18. options:
  19. _node_operation_route: TRUE