I am trying to find the correct tokens to use for a Pathauto pattern in Drupal 8.
In Drupal 7, I have a Pathauto module pattern that creates a URL alias with a node's term and parent term.
So if the node had a Term reference of Health -> Diet. The URL would be health/diet/node-title
.
The pattern to generate this is [node:field-topic:0:parents:join-path]/[node:field-topic:0]/[node:title]
Note the :0
is because the Term reference field allows multiple values.
-
and_