Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Core and contrib tokens already do a great job in providing precious meta information on Drupal entities. However, creating a hierarchical breadcrumb from the root term down (or up) to and especially including the current term with a single token is impossible unless you wanted to create custom code snippets as a workaround.
This module is intended to fill just this gap as handy as possible and thus introduces two additional term related tokens:
[term:breadcrumb]
[term:breadcrumb-reverse]
Where the first one returns an array starting with the root term, the latter starting with the current term.
Requirements
All you need is:
Enable core taxonomy module (you would not be here without that!)
Just enable the module and create some tokenizable content. You will find the two new tokens in the token browser, supporting all array-related options the token module offers.
Example
If you have a hierarchichal vocabulary like this one:
Cmood (content mood) helps to know the mood of user who posted the content on the website. The content mood is calculated by pre defined mood words along with the ranking words.
The Node Clone module allows you to easily create a duplicate copy (clone) of an existing node, however if that node references a field collection, the new clone will reference the same field colle