Adding action links to and existing page

Note Statistics

Note Statistics

  • Viewed 8 times

For mmodule name mymodule we need to create a YAML file in your mofule root directoy called mymodule.links.action.yml

with the content below

mymodule.action_name:
  route_name: target_route_id
  title: 'Label of my action'
  appears_on:
    - id_of_page_1
Authored by
devon