dr8_zth.routing.yml 861 B

1234567891011121314151617181920212223242526272829303132
  1. entity.blog_type.collection:
  2. path: '/admin/structure/blog'
  3. defaults:
  4. _entity_list: 'blog_type'
  5. _title: 'Blog types'
  6. requirements:
  7. _permission: 'administer blog'
  8. entity.blog_type.add_form:
  9. path: '/admin/structure/blog/manage/add'
  10. defaults:
  11. _entity_form: 'blog_type'
  12. _title: 'Add blog type'
  13. requirements:
  14. _entity_create_access: 'blog_type'
  15. entity.blog_type.delete_form:
  16. path: '/admin/structure/blog/manage/{blog_type}/delete'
  17. defaults:
  18. _entity_form: 'blog_type.delete'
  19. _title: 'Delete blog type'
  20. requirements:
  21. _entity_access: 'blog_type.delete'
  22. entity.blog_type.edit_form:
  23. path: '/admin/structure/blog/manage/{blog_type}'
  24. defaults:
  25. _entity_form: 'blog_type.default'
  26. _title_callback: '\Drupal\dr8_zth\Controller\BlogController::typeTitle'
  27. requirements:
  28. _entity_access: 'blog_type.update'