Displaying as a tab on the user page

Even though the view created in the recipe follows a route under /user, it will not show up as a local task tab until it has a menu entry defined.

Go back and edit the My Content view. From the Page settings section, you will need to change No menu from the Menu option. Clicking on that link will open the menu link settings dialog.

Select Menu tab and provide a Menu link title, such as My Content. Select <User account menu> for the Parent. Click on Apply and save your view. When you go to the /user page again, it will have the My Content page available.

You may need to rebuild Drupal's caches in order for the routing system to be rebuilt, making Drupal aware of the menu tab.