summaryrefslogtreecommitdiffstats
path: root/core/modules/comment/comment.local_tasks.yml
blob: ecf92e9f04cca65b62112afbe5b86d6a3a8c426b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
comment.permalink_tab:
  route_name: comment.permalink
  title: 'View comment'
  base_route: comment.permalink
comment.edit_page_tab:
  route_name: comment.edit_page
  title: 'Edit'
  base_route: comment.permalink
  weight: 0
comment.confirm_delete_tab:
  route_name: comment.confirm_delete
  title: 'Delete'
  base_route: comment.permalink
  weight: 10

comment.admin:
  title: Comments
  route_name: comment.admin
  base_route: system.admin_content

comment.admin_new:
  title: 'Published comments'
  route_name: comment.admin
  parent_id: comment.admin

comment.admin_approval:
  title: 'Unapproved comments'
  route_name: comment.admin_approval
  class: Drupal\comment\Plugin\Menu\LocalTask\UnapprovedComments
  parent_id: comment.admin
  weight: 1

# Default tab for comment type editing.
comment.type_edit:
  title: 'Edit'
  route_name: comment.type_edit
  base_route: comment.type_edit