Field Token Value
Categories
Component ID
2840888
Component name
Field Token Value
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
1602
Component created
Component changed
Component body
This module creates a Field API type and widget which allows a field to be created with the value containing tokens. A simple field formatter is also provided to allow for the field value to be output on the page.
The value and tokens for the field are set within the instance settings with the field value being set in a presave.
An example of when this module could be useful is if you are wanting to combine the output of multiple fields for use in Views, or providing tokens within an additional string like "This page was last updated [node:changed]". This field is then available within the manage display of the entity bundle.
Requirements
Similar projects
- Concat Field: Concatenates the display values of selected fields within the bundle into a single field on save. Does not use tokens and only concatenates the field values with a space.
- Field default token: Enables the use of tokens as field default values. Adds the option to existing fields instead of creating a new field. Because it is a default value it can be overwritten on the entities creation form.
