I have a content type named "film" and a form mode named "film_artistic"
in my_module.routing.yml, I have added this entry:
my_module.film.artistic:
path: 'node/{node}/artistic/edit'
defauts:
_entity_form: node.film_artistic
_title: 'Edit artistic info'
requirements:
_permission: 'access content'
But when I try to reach, let say "/node/6/artistic/edit" I got a "Page not found" result
I don't know what I am missing...
My ultimate goal is to have several form mode for my film content type (ex: Artistic, Technical,...) and for each of them, I would like to create a "Local Task" sharing the same base_route: "entity.node.edit_form". For my first local task, I have to add the following in my_module.links.task.yml:
film.artist:
route_name: my_module.film.artistic
title: Edit artistic info
base_route: entity.node.edit_form
weight: 20
But of course I can't test it as my main route is not working (node/{node}/artistic/edit)