This project is not covered by Drupal’s security advisory policy.
This simple module was created to handle the formatting of entity tokens.
When using certain field entities the entity token module will provide formatting and data sanitisation for display. However, there are times when you need the default value of the original field.
How to use this module
After install on the field edit page use the select box to choose the raw() or value() output of the entity, instead of the default format from the entity token module. In many cases the output is likely to be the same depending on the format. It uses the Entity Meta Wrapper to obtain these values, discussed further here: https://www.drupal.org/documentation/entity-metadata-wrappers
In my use-case I needed the key value from a field select list, in-order for the Pathauto module to generate a URL alias. The Entity Token module always displays the label of a field if one is available. In this case I did not want to use the label value in the URL.
It was made in response to these discussions:
https://www.drupal.org/node/1781498
https://www.drupal.org/node/2082407
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Content display, Site structure
24 sites report using this module
- Created by roborew on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
