mymodule.links.task.yml

Hi,
I used the “mymodule.links.task.yml” file to add a couple of tabs in the user profile tab and it works perfectly.

========================
lessons_tab:
route_name : lessons_tab
title: Lessons Manager
base_route: entity.user.canonical
weight: 10

lessons_add_tab:
route_name : lessons_add_tab
title: Add New Lesson
base_route: entity.user.canonical
weight: 10
========================

this is my mymodule.routing.yml file:

========================
lessons_tab:
path: ‘/lessons’
defaults:
_controller: ‘DrupalmymoduleControllerLessonsController::content’
requirements:
_role: ‘instructor + administrator’

lessons_add_tab:
path: ‘/lessons/add’
defaults:
_title: ‘Add new lesson’
_form: ‘DrupalmymoduleFormsLessonsAdd’
user: d+
requirements:
_role: ‘instructor + administrator’
========================

When I click on the new tabs my pages are shown correctly but the user profile tab disappear!

Anybody knows where is my mistake?
Maybe I have to invoke an api in my module to recreate the user profile tab?

Thanks && Marry Christmas Everybody!

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/4/feed