You are here

comment.links.task.yml in Drupal 10

core/modules/comment/comment.links.task.yml

File

core/modules/comment/comment.links.task.yml
View source
  1. entity.comment.canonical_tab:
  2. route_name: entity.comment.canonical
  3. title: 'View comment'
  4. base_route: entity.comment.canonical
  5. entity.comment.edit_form_tab:
  6. route_name: entity.comment.edit_form
  7. title: 'Edit'
  8. base_route: entity.comment.canonical
  9. weight: 0
  10. entity.comment.delete_form_tab:
  11. route_name: entity.comment.delete_form
  12. title: 'Delete'
  13. base_route: entity.comment.canonical
  14. weight: 10
  15. comment.admin:
  16. title: Comments
  17. route_name: comment.admin
  18. base_route: system.admin_content
  19. comment.admin_new:
  20. title: 'Published comments'
  21. route_name: comment.admin
  22. parent_id: comment.admin
  23. comment.admin_approval:
  24. title: 'Unapproved comments'
  25. route_name: comment.admin_approval
  26. class: Drupal\comment\Plugin\Menu\LocalTask\UnapprovedComments
  27. parent_id: comment.admin
  28. weight: 1
  29. cache_tags:
  30. - comment_list
  31. # Default tab for comment type editing.
  32. entity.comment_type.edit_form:
  33. title: 'Edit'
  34. route_name: entity.comment_type.edit_form
  35. base_route: entity.comment_type.edit_form