symlink-8.x-1.x-dev/symlink.links.task.yml
symlink.links.task.yml
# yaml file to define one or more local task(s). # # Definitions can contain any of the following: # title: (required) The untranslated title of the menu link. # description: The untranslated description of the link. # route_name: (optional) The route name to be used to build the path. Either a # route_name or a link_path must be provided. # base_route: Used to group together related tabs. # parent_id: Use the parent_id to relate a tab to a parent tab for multiple # levels of tabs. # route_parameters: (optional) The route parameters to build the path. An array. # link_path: (optional) If you have an external link use link_path instead of # providing a route_name. # weight: (optional) An integer that determines the relative position of items # in the menu; higher-weighted items sink. Defaults to 0. # Menu items with the same weight are ordered alphabetically. # options: (optional) An array of options to be passed to l() when generating # a link from this menu item. symlink.add: title: 'Add a symlink' route_name: symlink.add base_route: entity.node.canonical weight: 40
