You are here

view_custom_table.routing.yml in Views Custom Table 8

Same filename and directory in other branches
  1. 9.0.x view_custom_table.routing.yml

File

view_custom_table.routing.yml
View source
  1. view_custom_table.customtable:
  2. path: '/admin/structure/views/custom_table'
  3. defaults:
  4. _controller: '\Drupal\view_custom_table\Controller\OwnTableList::content'
  5. _title: 'Views Custom Tables'
  6. requirements:
  7. _permission: 'administer own custom table in views'
  8. view_custom_table.customtable_own:
  9. path: '/admin/structure/views/custom_table/own'
  10. defaults:
  11. _controller: '\Drupal\view_custom_table\Controller\OwnTableList::content'
  12. _title: 'Views Custom Tables'
  13. requirements:
  14. _permission: 'administer own custom table in views'
  15. view_custom_table.customtable_all:
  16. path: '/admin/structure/views/custom_table/all'
  17. defaults:
  18. _controller: '\Drupal\view_custom_table\Controller\AllTableList::content'
  19. _title: 'Views Custom Tables'
  20. requirements:
  21. _permission: 'administer all custom table in views'
  22. view_custom_table.customtable_views:
  23. path: '/admin/structure/views/custom_table/views/{table_name}'
  24. defaults:
  25. _controller: '\Drupal\view_custom_table\Controller\TablesViews::content'
  26. _title: 'Views Custom Tables'
  27. requirements:
  28. _permission: 'administer all custom table in views'
  29. options:
  30. parameters:
  31. table_name:
  32. view_custom_table.addcustomtable:
  33. path: '/admin/structure/views/custom_table/add'
  34. defaults:
  35. _form: '\Drupal\view_custom_table\Form\AddViewsCustomTable'
  36. _title: 'Add Custom Table'
  37. requirements:
  38. _permission: 'add custom table in views'
  39. view_custom_table.removecustomtable:
  40. path: '/admin/structure/views/custom_table/remove/{table_name}'
  41. defaults:
  42. _form: '\Drupal\view_custom_table\Form\RemoveViewsCustomTable'
  43. _title: 'Remove Custom Table'
  44. requirements:
  45. _permission: 'remove custom table in views'
  46. options:
  47. parameters:
  48. table_name:
  49. view_custom_table.editcustomtable:
  50. path: '/admin/structure/views/custom_table/edit/{table_name}'
  51. defaults:
  52. _form: '\Drupal\view_custom_table\Form\EditViewsCustomTable'
  53. _title: 'Edit Custom Table'
  54. requirements:
  55. _permission: 'add custom table in views'
  56. options:
  57. parameters:
  58. table_name:
  59. view_custom_table.edittablerelations:
  60. path: '/admin/structure/views/custom_table/relations/{table_name}'
  61. defaults:
  62. _form: '\Drupal\view_custom_table\Form\EditTableRelations'
  63. _title: 'Edit Custom Table Relations'
  64. requirements:
  65. _permission: 'add custom table in views'
  66. options:
  67. parameters:
  68. table_name: