comment.links.task.yml 1019 Bytes
Newer Older
1 2
entity.comment.canonical_tab:
  route_name: entity.comment.canonical
3
  title: 'View comment'
4 5 6
  base_route: entity.comment.canonical
entity.comment.edit_form_tab:
  route_name: entity.comment.edit_form
7
  title: 'Edit'
8
  base_route: entity.comment.canonical
9
  weight: 0
10 11
entity.comment.delete_form_tab:
  route_name: entity.comment.delete_form
12
  title: 'Delete'
13
  base_route: entity.comment.canonical
14 15
  weight: 10

16 17 18
comment.admin:
  title: Comments
  route_name: comment.admin
19
  base_route: system.admin_content
20 21 22 23

comment.admin_new:
  title: 'Published comments'
  route_name: comment.admin
24
  parent_id: comment.admin
25 26 27 28 29

comment.admin_approval:
  title: 'Unapproved comments'
  route_name: comment.admin_approval
  class: Drupal\comment\Plugin\Menu\LocalTask\UnapprovedComments
30
  parent_id: comment.admin
31
  weight: 1
32 33
  cache_tags:
    - comment_list
34 35

# Default tab for comment type editing.
36
entity.comment_type.edit_form:
37
  title: 'Edit'
38 39
  route_name: entity.comment_type.edit_form
  base_route: entity.comment_type.edit_form