You are here

scheduler.links.task.yml in Scheduler 2.x

Same filename and directory in other branches
  1. 8 scheduler.links.task.yml

File

scheduler.links.task.yml
View source
  1. scheduler.settings_tab:
  2. route_name: scheduler.admin_form
  3. title: Settings
  4. weight: 5
  5. base_route: scheduler.admin_form
  6. scheduler.cron_tab:
  7. route_name: scheduler.cron_form
  8. title: Lightweight cron
  9. weight: 10
  10. base_route: scheduler.admin_form
  11. content_moderation.content:
  12. # Use content_moderation.content which is the same key as is used in the core
  13. # Content Moderation module. If that modules is enabled this avoids two
  14. # 'Overview' links. If https://www.drupal.org/project/drupal/issues/3199682
  15. # gets committed then this route could be removed from here.
  16. title: 'Overview'
  17. route_name: system.admin_content
  18. parent_id: system.admin_content
  19. scheduler.scheduled_content:
  20. title: 'Scheduled content'
  21. route_name: view.scheduler_scheduled_content.overview
  22. parent_id: system.admin_content
  23. # Overview seems to have weight 0 and moderated content is weight 1.
  24. weight: 5
  25. scheduler.media_overview:
  26. # This is added so that we get an 'overview' sub-task link alongside the
  27. # 'scheduled media' sub-task link.
  28. title: 'Overview'
  29. route_name: entity.media.collection
  30. parent_id: entity.media.collection
  31. scheduler.scheduled_media:
  32. title: 'Scheduled media'
  33. route_name: view.scheduler_scheduled_media.overview
  34. parent_id: entity.media.collection
  35. weight: 5
  36. scheduler.commerce_products:
  37. # This separate route for the parent_id is needed, because using
  38. # entity.commerce_product.collection does not render the local task links.
  39. route_name: scheduler.commerce_products
  40. base_route: scheduler.commerce_products
  41. scheduler.commerce_product.collection:
  42. # This is added so that we get an 'overview' sub-task link alongside the
  43. # 'scheduled products' sub-task link.
  44. title: 'Overview'
  45. route_name: entity.commerce_product.collection
  46. parent_id: scheduler.commerce_products
  47. scheduler.scheduled_products:
  48. title: 'Scheduled Products'
  49. route_name: view.scheduler_scheduled_commerce_product.overview
  50. parent_id: scheduler.commerce_products
  51. weight: 5