You are here

gatsby_fastbuilds.routing.yml in Gatsby Live Preview & Incremental Builds 8

Same filename and directory in other branches
  1. 2.0.x modules/gatsby_fastbuilds/gatsby_fastbuilds.routing.yml
modules/gatsby_fastbuilds/gatsby_fastbuilds.routing.yml

File

modules/gatsby_fastbuilds/gatsby_fastbuilds.routing.yml
View source
  1. gatsby_fastbuilds.gatsby_fastbuilds_controller_sync:
  2. path: '/gatsby-fastbuilds/sync/{last_fetch}'
  3. defaults:
  4. _controller: '\Drupal\gatsby_fastbuilds\Controller\GatsbyFastbuildsController::sync'
  5. _title: 'Gatsby Fastbuild Sync'
  6. options:
  7. _auth: ['basic_auth', 'cookie']
  8. requirements:
  9. _permission: 'sync gatsby fastbuild log entities'
  10. last_fetch: '[0-9]+'
  11. gatsby_fastbuilds.gatsby_fastbuilds_admin_form:
  12. path: '/admin/config/services/gatsby/fastbuilds'
  13. defaults:
  14. _form: '\Drupal\gatsby_fastbuilds\Form\GatsbyFastbuildsAdminForm'
  15. _title: 'Fastbuilds Settings'
  16. requirements:
  17. _permission: 'administer gatsby log entity entities'
  18. options:
  19. _admin_route: TRUE
  20. gatsby_fastbuilds.gatsby_fastbuilds_log:
  21. path: '/admin/config/services/gatsby/fastbuilds-log'
  22. defaults:
  23. _entity_list: 'gatsby_log_entity'
  24. _title: 'Fastbuilds Log'
  25. requirements:
  26. _permission: 'administer gatsby log entity entities'
  27. options:
  28. _admin_route: TRUE