I am using Drupal 8. I have a content type "hotel". I would like to change the default tab name "View" only for this content type "hotel". I can change the default tab name "View" by mymodule.links.task.yml (please see below code), but it applies to all content types.
entity.node.canonical:
route_name: entity.node.canonical
base_route: entity.node.canonical
title: 'Summary'
So how do I change the default tab name "View" ONLY for a content type?