You are here

apply_for_role.links.task.yml in Apply for role 8

File

apply_for_role.links.task.yml
View source
  1. # yaml file to define one or more local task(s).
  2. #
  3. # Definitions can contain any of the following:
  4. # title: (required) The untranslated title of the menu link.
  5. # description: The untranslated description of the link.
  6. # route_name: (optional) The route name to be used to build the path. Either a
  7. # route_name or a link_path must be provided.
  8. # base_route: Used to group together related tabs.
  9. # parent_id: Use the parent_id to relate a tab to a parent tab for multiple
  10. # levels of tabs.
  11. # route_parameters: (optional) The route parameters to build the path. An array.
  12. # link_path: (optional) If you have an external link use link_path instead of
  13. # providing a route_name.
  14. # weight: (optional) An integer that determines the relative position of items
  15. # in the menu; higher-weighted items sink. Defaults to 0.
  16. # Menu items with the same weight are ordered alphabetically.
  17. # options: (optional) An array of options to be passed to l() when generating
  18. # a link from this menu item.
  19. apply_for_role.user_apply_tab:
  20. route_name : apply_for_role.form
  21. title: Apply for Role
  22. base_route: entity.user.canonical
  23. weight: 10