How do I add local tasks menu to a views page display
@Eyal was right. Some information:


Find the current route : /devel/routes gives you all the registered routes.
Or better : use the devel module &amp; web profiler submodule to display the Symfony2 toolbar, you will have a lot of useful information, especially the current route.


  You should find a route name as view.my_page.page_1 for example.

Create a modulename.links.action.yml (or modulename.links.local.yml) with this content:


 

view.my_page.page_1:
  route_name: view.my_page.page_1
  title: My button title
  appears_on:
    - view.my_page.page_1