From the creation form (any bundle), I need to get the content type label/name to use it in a link (in a block, for example) and pre-filter the View opened by this link.
The user wants to add a new Article and opens the Article creation form.
In a special block (let's say in Highlighted region), a link is displayed : "Clone existing".
This link leads to a View listing the existing Articles with a clone button for each.
This View can be filtered by content type.
So the link would be something like :
<a href"/existing-nodes?type=[node:content-type]">Clone existing</a>
How to get the [node:content-type] (just here to clarify, good old token) from the form?
Any tip would be nice.