You are here

config_selector.routing.yml in Configuration selector 8.2

Same filename and directory in other branches
  1. 8 config_selector.routing.yml

File

config_selector.routing.yml
View source
  1. entity.config_selector_feature.delete_form:
  2. path: '/admin/structure/config_selector/manage/{config_selector_feature}/delete'
  3. defaults:
  4. _entity_form: 'config_selector_feature.delete'
  5. _title: 'Delete Configuration Selector feature'
  6. requirements:
  7. _entity_access: 'config_selector_feature.delete'
  8. entity.config_selector_feature.collection:
  9. path: '/admin/structure/config_selector'
  10. defaults:
  11. _entity_list: 'config_selector_feature'
  12. _title: 'Features'
  13. requirements:
  14. _custom_access: '\Drupal\config_selector\Plugin\Derivative\FeatureListMenuLink::access'
  15. _permission: 'administer site configuration'
  16. config_select.feature.add:
  17. path: '/admin/structure/config_selector/add-feature'
  18. defaults:
  19. _entity_form: 'config_selector_feature.add'
  20. _title: 'Add Configuration Selector feature'
  21. requirements:
  22. _entity_create_access: 'config_selector_feature'
  23. entity.config_selector_feature.edit_form:
  24. path: '/admin/structure/config_selector/manage/{config_selector_feature}/edit'
  25. defaults:
  26. _entity_form: 'config_selector_feature.edit'
  27. _title: 'Edit Configuration Selector feature'
  28. requirements:
  29. _entity_access: 'config_selector_feature.update'
  30. entity.config_selector_feature.manage:
  31. path: '/admin/structure/config_selector/manage/{config_selector_feature}'
  32. defaults:
  33. _entity_form: 'config_selector_feature.default'
  34. _title: 'Manage Configuration Selector feature'
  35. requirements:
  36. _entity_access: 'config_selector_feature.manage'
  37. config_selector.select:
  38. path: '/admin/structure/config_selector/switch/{config_selector_feature}/{config_entity_type}/{config_entity_id}/select}'
  39. defaults:
  40. _controller: '\Drupal\config_selector\Controller\Switcher::select'
  41. entity_type: 'config_selector_feature'
  42. requirements:
  43. _permission: 'administer site configuration'
  44. _csrf_token: 'TRUE'