summaryrefslogtreecommitdiffstats
path: root/core/modules/comment/comment.links.task.yml
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/comment/comment.links.task.yml')
-rw-r--r--core/modules/comment/comment.links.task.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/core/modules/comment/comment.links.task.yml b/core/modules/comment/comment.links.task.yml
new file mode 100644
index 0000000..ecf92e9
--- /dev/null
+++ b/core/modules/comment/comment.links.task.yml
@@ -0,0 +1,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