You are here

views_megarow.routing.yml in Views Megarow 8

File

views_megarow.routing.yml
View source
  1. views_megarow.config:
  2. path: '/admin/config/user-interface/views-megarow'
  3. defaults:
  4. _form: '\Drupal\views_megarow\Form\ViewsMegarowConfig'
  5. _title: 'Views Megarow configuration'
  6. requirements:
  7. _permission: 'access content'
  8. views_megarow.render_route:
  9. path: '/views_megarow/quickedit'
  10. defaults:
  11. _controller: '\Drupal\views_megarow\Controller\ViewsMegarowQuickEditController::content'
  12. requirements:
  13. _permission: 'access content'
  14. views_megarow.edit:
  15. path: '/views_megarow/edit/{entity_type}/{entity}/{js}'
  16. # path: '/admin/structure/views/{js}/handler/{view}/{display_id}/{type}/{id}'
  17. defaults:
  18. _controller: '\Drupal\views_megarow\Controller\ViewsMegarowEditController::form'
  19. requirements:
  20. _format: 'html'
  21. _custom_access: '\Drupal\views_megarow\Controller\ViewsMegarowEditController::access'
  22. js: 'nojs|ajax'
  23. options:
  24. _admin_route: TRUE
  25. parameters:
  26. entity:
  27. type: 'entity:{entity_type}'
  28. #views_megarow.editjson:
  29. # path: '/views_megarow/edit/{entity_type}/{entity}'
  30. # defaults:
  31. # _controller: '\Drupal\views_megarow\Controller\ViewsMegarowEditController::jsonCallback'
  32. # requirements:
  33. # _format: 'json'
  34. # _custom_access: '\Drupal\views_megarow\Controller\ViewsMegarowEditController::access'
  35. # options:
  36. # _admin_route: TRUE
  37. # parameters:
  38. # entity:
  39. # type: 'entity:{entity_type}'