Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have a rule set up to display a "create another node" message to the user when a node is created. It uses the token "[node:content-type]" to link to the node/add link. this used to work. for example, if I had a content type "Useful Link" (useful-link) the message would link to "node/add/useful-link".
However, since the new version the human readable name is used instead of the machine name. So the link is now "node/add/Useful Link".
How can I link to the machine name of the content type?
Thanks
Rich
Comments
Comment #1
TR CreditAttribution: TR commentedDuplicate of #1419276: Content Type alias not being used in rules
The value of the token isn't determined by Rules so nothing in Rules would change the return value of the token.