I have the module.routing.yml as
entity.node.ssl_check:
path: '/node/{node}/check-ssl'
defaults:
_form: '\Drupal\ssl_check\Form\SslCheck'
_title: 'Check SSL Cert'
requirements:
_permission: 'access check ssl tab'
and module.links.task.yml as
entity.node.ssl_check:
route_name: entity.node.ssl_check
title: 'Ssl check'
base_route: entity.node.canonical
weight: 15
Here when I access node/1104/check-ssl/ the form defined in the form controller is loading. But my other need that is to show a 'Ssl check' tab when I visit path /node/1104/ is not there. I have done the tab thing while dealing with Controller but not working with form controller. Please help. I have checked 'Add tab / local task to a node' this but there was nothing dealing with form controller.
defaults
.